Commit Graph

525 Commits

Author SHA1 Message Date
J. Ryan Stinnett
ae7b7402fa Bug 1359603 - Update test expectations. r=me
MozReview-Commit-ID: 900CmDa2JcE
2017-04-27 13:01:28 -05:00
cku
303f810291 Bug 1341703 - Part 4. Re-enable bordering reftests. r=manishearth
MozReview-Commit-ID: B7CCCnmo2k7
2017-04-17 16:12:52 +08:00
Hiroyuki Ikezoe
0f0a803545 Bug 1354998 - Update reftest expectations for contain property. r=me
It seems that these three test cases are affetced by scrollbar.

MozReview-Commit-ID: JnPw8EfEyVl
2017-04-24 07:05:53 +09:00
Nazım Can Altınova
3797b77af4 Bug 1354998 - stylo: Update test expectations for contain property r=emilio
MozReview-Commit-ID: 4B570Lb5Auu
2017-04-23 01:47:21 +03:00
Manish Goregaokar
9ea5fbb8cc Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-21 15:40:49 -07:00
L. David Baron
f0dbf1c382 Bug 1357951 - Update two transforms tests that should now point to css-transforms-2 following the spec split. r=SimonSapin
MozReview-Commit-ID: K8VBj6DaPGY
2017-04-20 11:23:19 +09:00
Hiroyuki Ikezoe
9c3ac1b327 Bug 1342188 - Enable image reftest. r=shinglyu
MozReview-Commit-ID: 2TrQZoxJFq8
2017-04-17 07:33:25 +09:00
Carsten "Tomcat" Book
8688e100b2 Backed out changeset 49c8dc08ff64 (bug 1349417) 2017-04-19 08:31:48 +02:00
Manish Goregaokar
8bea1b42f7 Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-18 21:36:48 -07:00
Iris Hsiao
e1208b6ce4 Backed out 3 changesets (bug 1349417) for build bustage
Backed out changeset e6a9aaf8c102 (bug 1349417)
Backed out changeset fbdddabe4c8d (bug 1349417)
Backed out changeset c1ead1f0ab71 (bug 1349417)
2017-04-19 11:03:13 +08:00
Manish Goregaokar
7dd0dab91c Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-18 19:31:07 -07:00
Cameron McCormack
7e3de0a555 Bug 1356510 - stylo: Update test expectations. r=manishearth
MozReview-Commit-ID: H9cunzhaNV
2017-04-16 22:11:18 +10:00
Cameron McCormack
2adae47aed Bug 1356125 - stylo: Update test expectations. r=emilio
MozReview-Commit-ID: 6cU2r50REn9
2017-04-13 14:32:07 +08:00
Sebastian Hengst
65ce1457e3 Backed out changeset b2a3d0fd9675 (bug 1346618) 2017-04-13 18:55:26 +02:00
Manish Goregaokar
603ade44a6 Bug 1356105 - Update more test expectations ; r=manishearth
MozReview-Commit-ID: 8qvGgysr20e
2017-04-13 15:56:54 +08:00
cku
bc3a90aaca Bug 1346618 - Part 2. Test case. r=mstange
MozReview-Commit-ID: FVEqDh9E5DP
2017-03-13 11:19:49 +08:00
Nazım Can Altınova
3fdc79dbd5 Bug 1355003 - stylo: Update test expectations for shape-outside; r=Manishearth
MozReview-Commit-ID: ADUVt5RIBK
2017-04-13 10:34:54 +08:00
KuoE0
a877f9a753 Bug 1354000 - Update test result. r=heycam
MozReview-Commit-ID: CGNYT256Oph
2017-04-10 22:32:36 +08:00
cku
e0b99698e9 Bug 1341667 - Part 2. Enable css-masking reftests in stylo. r=heycam
MozReview-Commit-ID: FjnYLtwY900
2017-04-10 14:00:53 +08:00
Iris Hsiao
d883ae6448 Backed out changeset 979d89d569f2 (bug 1354000) for stylo tests bustage 2017-04-12 13:37:08 +08:00
KuoE0
7f3e2f8c9f Bug 1354000 - (Part 2) Update test result. r=heycam
MozReview-Commit-ID: CGNYT256Oph
2017-04-10 22:32:36 +08:00
Xidorn Quan
8cf2408c66 Bug 1341724 followup - Adjust reftest expectations.
MozReview-Commit-ID: KPZUOdERNEK
2017-04-10 20:54:22 +08:00
Carsten "Tomcat" Book
0175d8a0b6 Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Manuel Rego Casasnovas
66ed2d293f Bug 1354006 - [selectors4] Remove "interact" flag from :focus-within tests. r=xidorn
This patch has been extracted from:
https://github.com/w3c/web-platform-tests/pull/5370

The problem is that the "interact" flag on these tests
causes that they are considered manual,
when they can be run automatically.

This patch removes the "interact" flag and uses "reftest-wait" class
to be sure that the test has been completed.
2017-04-06 07:09:35 +02:00
Ting-Yu Lin
2c0ccc8249 Bug 1312328 - Remove CSS variables preference "layout.css.variables.enabled". r=xidorn
MozReview-Commit-ID: HwYpwbhQkZj
2017-04-07 00:29:39 +08:00
Daniel Holbert
eaead9ff60 Bug 812687 part 9: Add tests for "order" property's influence on list-numbering, baseline, and focus order in a flexbox. (no review, test-only)
MozReview-Commit-ID: EEkPlCgzknG
2017-04-05 19:31:48 -07:00
Manish Goregaokar
8d1f6ffa12 Bug 1341714 - Part 1: stylo: Add support for text-align match-parent and the <th> -moz-center-or-inherit behavior ; r=heycam
MozReview-Commit-ID: GEDM7JfJB8A
2017-03-26 13:53:34 -07:00
Hiroyuki Ikezoe
0ecbd40860 Bug 1352781 - Update reftest expectations. r=manishearth
MozReview-Commit-ID: GYo6DGU9u2V
2017-04-04 11:11:18 +09:00
Xidorn Quan
332e74638f Bug 1352025 part 3 - Update test expectations. r=manishearth
As a side effect of unifying url handling in part 1, url values in
unparsed property value and variable now works, thus this change.

MozReview-Commit-ID: JnZFU4JDMrN
2017-04-01 18:29:36 +11:00
Hiroyuki Ikezoe
a1a3411da2 Bug 1352771 - modify flexbox reftest expectations. r=bholley
MozReview-Commit-ID: 8QCs5TPFKP
2017-04-03 07:26:41 +09:00
Manish Goregaokar
150256fe29 Bug 1352775 - Revert "Bug 1352771 - modify flexbox reftest expectations. r=manishearth"
This reverts commit 13e78ea10b414ac4bd062037d4436ce1689ba865.

MozReview-Commit-ID: CZxOSUfT02b
2017-04-01 19:59:12 -07:00
Hiroyuki Ikezoe
d90156a7a1 Bug 1352771 - modify flexbox reftest expectations. r=bholley
MozReview-Commit-ID: 8QCs5TPFKP
2017-04-02 11:06:23 +09:00
Wes Kocher
e682ad2b2c Backed out changeset eb4ab1b12bfe (bug 1341102) for turning intermittent stylo reftests into permafails a=backout 2017-03-31 15:38:07 -07:00
Manish Goregaokar
fca07746cd Bug 1341102 - Fix stylo bustage; r=orange
MozReview-Commit-ID: 19guHjWjkrc
2017-03-31 13:34:51 -07:00
Manish Goregaokar
42f484fe6f Bug 1341648 - stylo: Include content rules from HTMLTableCellElement::WalkContentStyleRules ; r=bz
This also removes the TABLE_ATTRS_DIRTY optimization. Constructing nsMappedAttributes isn't really expensive and we do it all the time anyway.

MozReview-Commit-ID: 2krt1nFUzgl
2017-03-26 13:53:34 -07:00
Hiroyuki Ikezoe
14823e1c7d Bug 1346232 - Update reftest expectations. r=jmaher
MozReview-Commit-ID: HhzQ6QKZwDb
2017-03-30 17:09:08 +09:00
Xidorn Quan
259d15dc62 Bug 1345696 part 8 - Update test expectations. r=heycam
MozReview-Commit-ID: 5zQjzFUKdR8
2017-03-28 16:28:36 +11:00
Wes Kocher
756916fe8f Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Lee Salzman
765cffcb7b Bug 1350783 - mark failing Stylo reftests. r=me 2017-03-29 16:46:09 -04:00
Emilio Cobos Álvarez
212653a4ea Bug 1350140: Update test expectations. r=emilio
MozReview-Commit-ID: 4ZTM0r5KJfn
2017-03-24 09:25:12 +01:00
Ryan VanderMeulen
3866e9cf31 Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Geoff Brown
8e300b73cd Bug 1350363 - Correct stylo fuzzy-if added in bug 1348754; r=me,test-only 2017-03-28 16:16:28 -06:00
Bobby Holley
6e30a6e31c Bug 1341102 - Update expectations. r=me
MozReview-Commit-ID: HGgpUTW9mv5
2017-03-28 18:17:21 -07:00
Joel Maher
6b05e76bd4 Bug 1348754 - annotate reftests to allow stylo to run in e10s. r=xidorn 2017-03-24 09:51:42 -04:00
Bobby Holley
884547beb7 Bug 1347435 - Don't resolve URLs at parse time for Stylo. r=emilio
It's a bit unfortunate the use separate implementations of SpecifiedUrl for Servo
and Gecko, but they're different enough at this point that I don't think it really
makes sense to try to share everything. Splitting them out has some nice
simplifications as well.

I recognize that there's still some potential correctness issues for Servo using
the resolved URI in various places where the original URI may be the right thing,
but I've got too much on my plate to look into that for now.

MozReview-Commit-ID: BeDu93TQ4Ow
2017-03-22 20:17:51 -07:00
Nazım Can Altınova
7447c19a5b Bug 1342139 - Stylo: Update test expectations for will-change property r=xidorn
MozReview-Commit-ID: 61F50w9HBql
2017-03-21 14:51:26 +03:00
Manish Goregaokar
b0a496de16 Bug 1341086 - Part 4: stylo: Update test expectations; r=manishearth
MozReview-Commit-ID: KXJ22Ov6Yxi
2017-03-16 14:10:22 -07:00
Carsten "Tomcat" Book
dfd22b262a Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
cku
70289dca9d Bug 1346265 - Part 3. Test cases. r=mstange
Since -moz-element is moz only feature, the test case for -moz-element is
created under reftests/image-element folder.

MozReview-Commit-ID: G4V0G3cX7qr
2017-03-13 12:47:30 +08:00
L. David Baron
44ddf0ef3d Bug 1347759 - Fix conditions under which we reflow absolutely positioned element due to size change of its container for everything other than horizontal LTR. r=jfkthame
I found this problem because I was debugging the failure of
layout/reftests/w3c-css/received/css-writing-modes-3/clearance-calculations-vrl-008.xht
with my patch for bug 1308876.  It was failing because the red reference
box that was intended to be covered up was being mispositioned leftwards
by the width of the scrollbar, since we were not reflowing it when we
decided that the viewport did not need scrollbars.  This patch fixes
that failure.

This led me to this bug, where
nsAbsoluteContainingBlock::FrameDependsOnContainer was incorrectly
testing conditions for when the values of 'top', 'right', 'bottom', and
'left' require reflow due to changes in the size of the containing
block.

The old code is incorrect in a number of cases, such as:
1. in RTL, with 'right: 100px', it will say that the frame does not
   depend on its container's width since 'right' (offset-inline-start)
   is a fixed offset and 'left' is 'auto'.  However, since the
   positioning is relative to the right edge, a change in container size
   does require that the absolutely positioned element be repositioned
   relative to the container's left edge.
2. In vertical-rl, again with 'right: 100px', it will make the same
   mistake, since 'right' (now offset-block-start) is a fixed offset.
   This is the case from the test I was debugging.
3. In vertical-rl with rtl direction and 'bottom: 100px', we will make
   the same mistake because 'bottom' (inline-start) is fixed and 'top'
   is 'auto', and we use 'bottom' rather than 'top'.

However, in cases (1) and (3) we actually avoid hitting the bug in these
simple-ish cases because ReflowInput::ShouldReflowAllKids() returns true
whenever IsIResize() is true, which means that
nsAbsoluteContainingBlock::Reflow doesn't even call
FrameDependsOnContainer.  However, FrameDependsOnContainer should still
do the right thing because it's needed for
nsAbsoluteContainingBlock::MarkSizeDependentFramesDirty, which is only
used (from nsBlockFrame) when we reflow again for clearance or for
interruptible reflow.  I haven't attempted to write a testcase for that
because it seems likely to require spending hours in the debugger trying
to trigger the right code.

This means that the only test that fails prior to the patch is
dynamic-offset-vrl-001.html, which exercises case (2), and also happens
to be the most similar to problem in clearance-calculations-vrl-008.xht.

This patch also makes the tests stricter so that we do optimize away
resizes in some cases where we're able to do so, such as
'left: 100px; right: auto' in RTL.  (Or, rather, we would if it weren't
for the IsIResize() in ShouldReflowAllKids().)

MozReview-Commit-ID: 8xm1AHC21oh
2017-03-16 09:39:19 -07:00