Граф коммитов

8493 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe 3fc40c42f2 Bug 1392851 - Try to update running CSS animations when CSS rules are changed. r=birtles
In the case where values in CSS rules changed directly by CSSOM, the old
value in the CSS rule block is immediately replaced by the new one. So if
the element, which is applied to the CSS rule, has running animations, the
new value is used during cascading process in animation-only restyle. Thus
in a subsequent normal restyle, we can't tell whether the value in the CSS
rule has changed or not. As a result, transitions may not be triggered
(bug 1393323) and CSS animations may not be cancelled if the updated
animation-name is 'none' (this bug).

For the latter case of CSS animations where animation-name has been updated to
'none', this patch introduces a workaround whereby we trigger an update of
running animations whenever the traversal is triggered by changes to CSS rules
and we have existing CSS animations.

change-animation-name-to-none-in-rule.html fails without servo #18214, succeeds
with this patch.  Other two tests succeed regardless of the PR.

MozReview-Commit-ID: BrZgTNk9w41

--HG--
extra : rebase_source : 7a55f54a0f94c8db02639f9d8c89f785b3a17a1b
2017-08-24 18:27:10 +09:00
cku 250c4094f7 Bug 1390088 - Part 2. Add a reftest to check percentage width/height on inner-<svg> resolves against the nearest <svg> ancestor. r=jwatt
MozReview-Commit-ID: KmWd9kMx8j3

--HG--
extra : rebase_source : 8ab6e8c41890c0f89c9521b5ad9f48a4a197c23d
2017-08-21 16:21:38 +08:00
Alexis Beingessner f6c60389be Bug 1368120 - Mark tests as passing when using webrender. r=kats
MozReview-Commit-ID: 75YoXHZdTqM
2017-08-23 12:00:58 -04:00
Alexis Beingessner 40257daf45 Bug 1368120 - Randomize gecko layer tests when using webrender. r=kats
MozReview-Commit-ID: EdYsFUXbxpB
2017-08-23 12:00:57 -04:00
Alexis Beingessner 9b5c1e926b Bug 1368120 - Mark tests as failing due to borders being enabled. r=kats
MozReview-Commit-ID: 3XNvbPV6HdZ
2017-08-23 12:00:57 -04:00
Alexis Beingessner ff20a616fa Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 1HwzQXOqNfl
2017-08-23 12:00:57 -04:00
Jonathan Kew bf22003a9a Bug 1364714 - (re-landing) Update Freetype to version 2.8, and fix/annotate tests affected by changes to font metrics & rasterization. r=dholbert,jwatt,ryanvm,jfkthame 2017-08-22 09:20:05 +01:00
Wes Kocher 7459418fd6 Backed out 16 changesets (bug 1364714) for android reftest failures in out-of-bounds-selectedindex.html a=backout
Backed out changeset b00b74e9d34b (bug 1364714)
Backed out changeset 1f52db2530d3 (bug 1364714)
Backed out changeset e3dda4fe9dae (bug 1364714)
Backed out changeset ff188112de35 (bug 1364714)
Backed out changeset 0e26a8c07cae (bug 1364714)
Backed out changeset e0cf94cb8666 (bug 1364714)
Backed out changeset 6f758a7673d3 (bug 1364714)
Backed out changeset 4b915e42b36d (bug 1364714)
Backed out changeset 80ca8faf1dac (bug 1364714)
Backed out changeset 2bd5a2d0ea09 (bug 1364714)
Backed out changeset aa5a89aac5ea (bug 1364714)
Backed out changeset 7634973c46ad (bug 1364714)
Backed out changeset b02a1d99e603 (bug 1364714)
Backed out changeset a297dc40177e (bug 1364714)
Backed out changeset 40e902ed7dbe (bug 1364714)
Backed out changeset d653fc499c9b (bug 1364714)

MozReview-Commit-ID: AyHF7oPwAs4
2017-08-21 16:16:29 -07:00
Jonathan Kew 234e8a8ef2 Bug 1391717 - Update imported CSS tests in layout/reftests/w3c-css/received. r=dholbert 2017-08-21 21:11:32 +01:00
Jonathan Kew 734895ccf7 Bug 1364714 - Adjust reftest text-emphasis-line-height-001z.html to avoid potential unwanted scrollbar. r=dholbert 2017-08-21 14:37:46 +01:00
Jonathan Kew aa0d9ce1d7 Bug 1364714 - Adjust dimensions in fixed-table-layout-010 tests to allow for increased font metrics without disrupting layout of test elements. r=dholbert 2017-08-21 14:37:43 +01:00
Jonathan Kew a996067c9b Bug 1364714 - Increase line-height in some ruby reftests to allow for default font with larger metrics. r=dholbert 2017-08-21 14:37:41 +01:00
Jonathan Kew 6cb6d8d95d Bug 1364714 - Adjust fuzzy() annotation for pre-line-1 test to account for change in freetype's font rendering. r=dholbert 2017-08-21 14:37:37 +01:00
Jonathan Kew 8ecce523ed Bug 1364714 - Adjust fuzzy() annotation for table-background test to allow for change in freetype's rendering. r=dholbert 2017-08-21 14:37:35 +01:00
Jonathan Kew 497c91f7b3 Bug 1364714 - Add fuzzy() annotation to mathml-mmultiscript test to allow for changed freetype rendering. r=dholbert 2017-08-21 14:37:32 +01:00
Jonathan Kew 4ac410c6cd Bug 1364714 - Modify text to avoid possibly-overflowing descender in last line of orthogonal float. r=dholbert 2017-08-21 14:37:29 +01:00
Jonathan Kew cad3d5c213 Bug 1364714 - Set explicit line-height in position-relative tests, to avoid fragile dependence on default font's metrics. r=dholbert 2017-08-21 14:37:25 +01:00
Jonathan Kew f3cae15008 Bug 1364714 - Set explicit line-height on background-position-vrl-018-ref file for better reliability. r=dholbert
(Already fixed upstream via https://github.com/w3c/web-platform-tests/pull/6924.)
2017-08-21 14:37:23 +01:00
Jonathan Kew 49bddb0ade Bug 1364714 - Fix fragile reference case for multicol-gap-001 test. r=dholbert
(Already fixed upstream via https://github.com/w3c/web-platform-tests/pull/6879.)
2017-08-21 14:37:19 +01:00
Jonathan Kew 7b1afa5045 Bug 1364714 - Adjust fuzzy() annotation for box-decoration reftest. r=dholbert
Re-ordering fuzzy annotations so that the Android annotation follows (and overrides)
the more general skiaContent one.
2017-08-21 14:37:15 +01:00
Louis Chang d26769e063 Bug 1385745 Part 2 - Add test cases for box-decoration-break. r=cjku
MozReview-Commit-ID: H0uLtr1O1Im

--HG--
rename : layout/reftests/svg/box-decoration-break-clone-ref.html => layout/reftests/svg/svg-integration/box-decoration-break-01-ref.xhtml
rename : layout/reftests/svg/box-decoration-break-clone.html => layout/reftests/svg/svg-integration/box-decoration-break-01.xhtml
extra : rebase_source : 4a11855b860da68a38eadff617a9d1452a5064d0
2017-08-17 11:17:23 +08:00
Wes Kocher b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Mantaroh Yoshinaga 04073ceef2 Bug 1369614 - Add test fail condition to reftest of interpolating stroke-width between px and percentage. r=hiro
Current stylo uses LengthOrPercentage::Calc for interpolation between length and
percentage, but neither gecko nor stylo will support the calc value for
stroke-dasharray. (bug 1258270 / bug 1386967)
So current stylo will not animate this types.

In this bug, we make stroke-dasharray interpolation between length and
percentage as discrete type until we properly support calc() for stroke-dasharray
(bug 1258270 / bug 1386967), as a result, rendering results of this type
matches with gecko.

MozReview-Commit-ID: FBuJM254ZdS

--HG--
extra : rebase_source : 634435089e3a72c03d62a7e4d51195e03c68d5b6
2017-08-18 10:32:34 +09:00
cku ab6215e0a7 Bug 577824 - Part 2. Add a reftest for an SVG filtered HTML element that's inserted into the DOM by script. r=jwatt
MozReview-Commit-ID: 2onAXw1tbcJ

--HG--
extra : rebase_source : 80ec1cf90b6a313f9e0c48ba63068517115bb3be
2017-08-09 02:02:27 +08:00
Wes Kocher e5f7ecb3d1 Backed out 2 changesets (bug 577824) for reftest failures in 577824.html a=backout CLOSED TREE
Backed out changeset 98f8d05483cf (bug 577824)
Backed out changeset 3b9a469ab1d6 (bug 577824)

MozReview-Commit-ID: HraTkt5uajG
2017-08-17 13:17:28 -07:00
cku cdd6e63deb Bug 577824 - Part 2. Add a reftest for an SVG filtered HTML element that's inserted into the DOM by script. r=jwatt
MozReview-Commit-ID: 2onAXw1tbcJ

--HG--
extra : rebase_source : deb32c12b45634200e87acdd9514aac11765ea93
2017-08-09 02:02:27 +08:00
Xidorn Quan 179961b3c9 Bug 1383845 - Enable tests disabled for bug 1383845. r=TYLin
MozReview-Commit-ID: Glao9d9PiUF

--HG--
extra : rebase_source : cfc70fcb350a7ee8e325ba1bda0bcdead62d786e
2017-08-17 10:51:59 +10:00
Daisuke Akatsuka 55696f4e05 Bug 1382136 - Part 4: add a reftest for 'content' animation on pseudo element. r=hiro
'content' property shoud animate on pseudo element as well.
To confirm the animation, add a reftest.

MozReview-Commit-ID: 4hfx6PLThgZ
2017-08-15 20:51:55 +09:00
Carsten "Tomcat" Book 6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Tobias Schneider 1106966bc4 Bug 1299848 - Rename test-async-print.html to test-async-paged.html. r=dholbert
--HG--
rename : layout/reftests/printing/test-async-print.html => layout/reftests/printing/test-async-paged.html
extra : rebase_source : 91f4e873c7e3747e7465b93d329111690ed2a7d2
2017-08-14 10:26:39 -07:00
Xidorn Quan c40f44ef9b Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : 74e411e2280e818fc1fbd2efda677565cfa2f8b6
2017-08-09 19:57:33 +10:00
Xidorn Quan 006ea5552e Bug 1388904 - Update reftest expectation.
MozReview-Commit-ID: JX9NbbJniYG
2017-08-15 11:15:52 +10:00
Lee Salzman 362b1401a4 Bug 1378130 - backport of fix for bounds violation in Skia's AAA path rendering. r=jrmuizel
MozReview-Commit-ID: 5NeeQpGYsoZ
2017-08-14 16:44:14 -04:00
Wes Kocher e3d2d72438 Backed out changeset a0249586bdc1 (bug 1378130) for quantumrender reftest failures a=backout
MozReview-Commit-ID: 8wg7GtbR9Y3
2017-08-14 13:33:17 -07:00
Lee Salzman 74d36db919 Bug 1378130 - backport of fix for bounds violation in Skia's AAA path rendering. r=jrmuizel
MozReview-Commit-ID: 5NeeQpGYsoZ
2017-08-14 12:21:47 -04:00
Manish Goregaokar 0ee8a01bf2 Bug 1383869 - Update reftest expectation.
MozReview-Commit-ID: FDHdj8ECKE9
2017-08-12 10:53:21 +10:00
Boris Zbarsky efd62c0c96 Bug 1388877. Fix insertions under a ::first-line in stylo. r=heycam
MozReview-Commit-ID: CDolJpTtGki

--HG--
extra : rebase_source : dbef95a652491fbfee0a462995938b4801a785ad
2017-08-11 09:11:23 -04:00
Sebastian Hengst 6ad2efe360 Backed out changeset 6c2389558858 (bug 1388877) for asserting at ServoRestyleManager.cpp:1450 in stylo reftests and crashtests. r=backout 2017-08-11 12:24:37 +02:00
Boris Zbarsky 00efaf7f30 Bug 1388877. Fix insertions under a ::first-line in stylo. r=heycam
MozReview-Commit-ID: CDolJpTtGki

--HG--
extra : rebase_source : 8a2fb19de65cd4dcf708382df844a6bbf81441c9
2017-08-11 03:12:44 -04:00
Boris Zbarsky a3410dfccf Bug 1385656. Fix the interaction of RecoverLetterFrames and ::first-line. r=heycam
MozReview-Commit-ID: BUt5FDI0IV1

--HG--
extra : rebase_source : 907a1f84a90ee36a777c4eae9b4073a0c3ec756f
2017-08-10 18:59:06 -04:00
Boris Zbarsky 0a35f673b3 Bug 1384602 part 2. Convert inserts to appends on table rows if possible, because the insert codepath is rather buggy. r=heycam
MozReview-Commit-ID: 5iOaG5UNAwG

--HG--
rename : layout/reftests/table-bordercollapse/1384602-1a.html => layout/reftests/table-bordercollapse/1384602-1b.html
2017-08-11 00:17:10 -04:00
Boris Zbarsky 3e9a6da953 Bug 1384602 part 1. When coalescing lazy frame construction reframes for stylo, do it even across comments. r=emilio
MozReview-Commit-ID: 7MyO1ZyS9zu
2017-08-11 00:17:07 -04:00
Wes Kocher cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Sebastian Hengst 51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Sebastian Hengst 6a474244a8 Backed out changeset 78d87b59f5a7 (bug 1370508) for unexpected pass of wpt-reftest /css/css-namespaces-3/syntax-013.xml. r=backout on a CLOSED TREE 2017-08-10 10:23:22 +02:00
Xidorn Quan c0203dbf2c Bug 1388881 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes. r=manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML
(as well as SVG) works in the way that we choose a different namespace
id (the disabled id) for the elements. Those ids are mapped to the same
namespace atom as normal ids, which means if we use the atom, we would
treat the elements like normal mathml elements.

MozReview-Commit-ID: 9YBBokbP04M

--HG--
extra : rebase_source : 397f09db41a22bfa34e4abe26ad10027dab83d0d
2017-08-10 16:29:17 +10:00
Yoshi Huang 9a74f292a9 Bug 1388630 - rewrite layout/reftests/bugs/331809-1.html for new data: URI behavior. r=smaug 2017-08-10 10:20:05 +08:00
Manish Goregaokar 6f0180e2cb Bug 1388943 - Include logical properties in has_author_specified_rules ; r=heycam
MozReview-Commit-ID: 6l2ZqLZwkZJ
2017-08-09 23:32:30 -07:00
Manish Goregaokar 4af3a23604 Bug 1388941 - Correctly scale -moz-min-font-size-ratio ; r=heycam
MozReview-Commit-ID: KoKFXzSdakU
2017-08-09 23:32:19 -07:00
Manish Goregaokar e6931eca1a Bug 1388941 - Remove unnecessary fails(stylo) annotation from fuzzy test; r=heycam
MozReview-Commit-ID: ERUIHRQwXc7
2017-08-09 23:32:07 -07:00
Xidorn Quan a0b8a2c68d Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : f5ffeaa615076035215f5ac1b9b39aa5cb15d618
2017-08-09 19:57:33 +10:00
Xidorn Quan 4e2c6b0054 Bug 1341102 - Add fuzzy for some styloVsGecko reftests.
MozReview-Commit-ID: Etq5HO11V92
2017-08-10 13:11:52 +10:00
Kartikaya Gupta 1caf760884 Bug 1385003 - Mark counter-style-rule-clone as failing from WR cset 921bde2. r=jrmuizel
This was already marked fuzzy but now the difference between the test and
reference images is even more pronounced. Technically this might still be fuzzable
because the thickness of the text (which is what is different) is not what the
test is testing for. But if we fuzz it the fuzz numbers would be so high that
legitimate failures might get fuzzed as well, so it's better to just mark it
failing for now and deal with it later.

MozReview-Commit-ID: 3Wt32XB1TWG

--HG--
extra : rebase_source : 5310a5b2deb187dcf0e4d3bc009bfae6abd1ef24
2017-08-09 08:46:26 -04:00
KuoE0 c95ed14053 Bug 1377158 - (Part 3) Update the expectation of test cases. r=bholley,heycam
MozReview-Commit-ID: K3gmTudkzol

--HG--
extra : rebase_source : 32ba6ceb37fa2f29cde8d2534d73108e87dfa406
2017-07-27 14:06:54 +08:00
Emilio Cobos Álvarez 76de548d1e Bug 1389113: Mark a few tests as passing. r=manishearth
MozReview-Commit-ID: GRn4709A3Nt

--HG--
extra : rebase_source : a8614e0ae52ad5c28a384439f357c6fbcf9f9b52
2017-08-10 17:09:59 +02:00
Wes Kocher 223f322400 Merge m-c to autoland a=merge
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Wes Kocher 650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Emilio Cobos Álvarez 199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Carsten "Tomcat" Book 0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
J. Ryan Stinnett 11508b0f88 Bug 1385027 - Update Stylo test annotations for Windows. r=manishearth
MozReview-Commit-ID: 7FPPAga0jgW

--HG--
extra : rebase_source : 5fe4189caf99b23e56cf87f6ebaea332058a3e80
2017-08-01 16:32:48 -05:00
Ya-Chieh Wu 9d06c6348d Bug 1379306 - Reftest for position:absolute block that is relative to table cell, row, row group. r=dbaron
MozReview-Commit-ID: 5ZdorkAhfj6

--HG--
extra : rebase_source : ae2dee773ea1f3e2e3fbb217b3ed1309fd0f1ccc
2017-08-07 20:31:00 +02:00
Hiroyuki Ikezoe 5bf9f97e61 Bug 1384120 - Replace old pseudo style context with a new style context including animations. r=emilio
When a reframe happens on the parent of a pseudo element which has animations,
we need to grab style for the pseudo element that includes the animations'
style and also *replace* old style context (that does not include animations'
style) with it. Otherwise, we will use the old style context that has *no*
animations style, as a result, we will see a flicker right after the reframe.

Two reftests in this patch fail without this fix.  One is for CSS transitions,
the other one is for CSS animations.

MozReview-Commit-ID: 6pCdnQ1DGUY
2017-08-08 11:35:23 +09:00
Lee Salzman a21ad6d19e Bug 1385029 - require implementation of gfxFont::GetScaledFont and remove unnecessary gfxPlatform::GetScaledFontForFont. r=jfkthame
MozReview-Commit-ID: GP1Aekecb0s
2017-08-07 16:20:44 -04:00
Tooru Fujisawa 5399586a08 Bug 1356114 - Part 3: Update border dashed testcase. r=jwatt 2017-08-06 00:26:58 +09:00
Sebastian Hengst 39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Nazım Can Altınova d755c48944 Bug 1386848 - stylo: Add a reftest for `transform: translate()` r=xidorn
MozReview-Commit-ID: F2XSsSc7w5n

--HG--
extra : rebase_source : f04340ee5b363424f0860fce8d0618ee99049312
2017-08-04 17:57:28 -07:00
Sebastian Hengst d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Jonathan Kew 19ca86872b Bug 1316770 - Add text-rendering:optimizeLegibility to reftests for bug 1089388, to try and ensure we get proper glyph bounds. r=gbrown 2017-08-04 15:26:50 +01:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Jonathan Watt 80f63e5249 Bug 1377188, part 2 - Add a reftest to check the default value of 'box-sizing' on <hr>. r=dholbert
MozReview-Commit-ID: 9Ss8KdcwL8X
2017-07-26 12:06:16 +01:00
Hiroyuki Ikezoe 9bf9d338f9 Bug 1385089 - Set restyle subtree restyle hint if the element animates display style from 'none' to other. r=emilio
When display style is changed from 'none' to other in animation-only restyle
we need to resolve descendant elements' style that were in the display:none
subtree.

Three possible ways to resolve the descendant elements' style;

1) Traversing unstyled elements in animation-only restyle
   We can't simply traverse unstyled elements in the animation-only restyle
   since when we decided to traverse the unstyled elements we don't know yet
   the elements will be initially styled or are in display:none subtree. It
   will result that the new elements are styled in animation-only restyle,
   it's undesirable.

2) Creating a SequentialTask and resolve the descendants' style with
   ServoStyleSet::StyleNewSubtree()
   We can't resolve the descendants' styles with ServoStyleSet::StyleNewSubtree()
   in SequentialTask since at the moment we are still in servo traversal (i.e.
   sInServoTraversal is true). That means AutoSetInServoTraversal fails
   in PrepareAndTraverseSubtree().

3) Creating a SequentialTask and set restyle subtree hint and defer descendants'
   restyle in a subsequent normal traversal
   Note that, when we process throttled animations flush, we don't process
   normal traversal so the descendants will not be traversed until normal
   restyle happens but it will not be a big problem since it's really rare
   that user clicks display animation element just at the right moment when
   display property changes from none to other.  Also, if it will be really
   a problem, we should process *only* transform animations on the compositor,
   it's ideally right thing to do. Display property never runs on the
   compositor.

This patch takes the third approach.

MozReview-Commit-ID: Krxa3kkdIq4

--HG--
extra : rebase_source : 33e9db953f21168c76716329568191625bd15896
2017-08-02 20:01:08 +09:00
Xidorn Quan d2d67f1449 Bug 1383075 part 1 - Handle URL token in a closer way to the spec. r=dbaron
MozReview-Commit-ID: B31txMs8fVw

--HG--
extra : rebase_source : 771228551feba014da47fa576685864be94cb856
2017-07-28 13:20:37 +10:00
Hiroyuki Ikezoe b9a155692e Bug 1384435 - Don't clear animation only dirty bit during style recalc (unless the element is in a display:none subtree). r=birtles
After bug 1356141, the setup of animation-only dirty bit should have matched
to normal dirty bit's one (Though they don't match in post traversal due to
throttled animation flush). An unset_animation_only_dirty_descendants call
removed in this patch cleared dirty bits which are needed for post traversal if
there is a second animation-only traversal and if there is no need to restyle
for the second animation-only traversal.

The reftest in this patch fails without either this fix or the fix for bug
1367975.

See [Gecko bug 1384435 comment 12](https://bugzilla.mozilla.org/show_bug.cgi?id=1384435#c12)
for more detail what's going on at that time.

MozReview-Commit-ID: Dw24Vgoabmd

--HG--
extra : rebase_source : 7f64dc16b03b0c0a32ac5dfeb4f8561c900d461e
2017-08-08 10:15:01 +09:00
Emilio Cobos Álvarez 27a84a9c29 Bug 1381821: reftest. r=bz
MozReview-Commit-ID: AQhUS2JNlYZ

--HG--
extra : rebase_source : 9c88668ff91b5aa9ebc419aab922497e52ee0cf7
2017-08-03 16:57:06 +02:00
Jeremy Chen 394d5f000f Bug 1381235 - add reftest for transitioning on visited links. r=hiro
With this patch, we now have an automated test to verify if a transition
is run properly on a visited link. Note that the test aims to verify
the behavior in Stylo should match that in Gecko. Due to Bug 868975, we
haven't supported transitioning on visited styles yet, so the test should
be put in our own repo for now. This test can be tweaked and put into
web-platform repo once we resolve Bug 868975.

MozReview-Commit-ID: Ci1cERXkIUK

--HG--
extra : rebase_source : 7feb1229bc2dc430bc2a1e40be40047049469fbd
2017-07-28 16:52:53 +08:00
Cameron McCormack d8a7128e4d Bug 1384275 - Reftest. r=emilio
MozReview-Commit-ID: 4At2CHtfeo2

--HG--
extra : rebase_source : f983fc6d872612adb08eaeeaff945fd97fd3a805
2017-07-29 15:07:49 +08:00
Boris Zbarsky ada6e6cf35 Bug 1324619 part 6. Handle dynamic restyles of ::first-line in stylo. r=emilio
MozReview-Commit-ID: 3jQhIqPuL1g

--HG--
extra : rebase_source : 094829b3cecf0549462cbe107d293a7e56ea2e5b
2017-07-28 21:20:47 -04:00
Boris Zbarsky 4bac5a04f9 Bug 1324619 part 4. Add a Servo API for reparenting a given style. r=emilio
MozReview-Commit-ID: 2rqnMjMQKlJ

--HG--
extra : rebase_source : 4e146f8aa6a04d7193c8f54ea7acd42ce0e852b6
2017-07-28 21:20:41 -04:00
Boris Zbarsky a5f876dcd4 Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio
This doesn't actually implement style context reparenting in the style set yet; that part is next.

There is one behavior difference being introduced here compared to Gecko: we
don't reparent the first block piece of an {ib} (block-inside-inline) split
whose first inline piece is being reparented.  This is actually a correctness
fix.  In this testcase:

  <style>
    #target { color: green; }
    #target::first-line { color: red; }
  </style>
  <div id="target">
    <span>
      <div>This should be green</div>
    </span>
  </div>

Gecko makes the text red, while every other browser makes it green.

We're preserving Gecko's behavior for out-of-flows in first-line so far, but
arguably it's wrong per spec and doesn't match other browsers either.  We can
look into changing it later.

MozReview-Commit-ID: 5eC6G449Mlh

--HG--
extra : rebase_source : 8c333a0afe96c68a4e3b6aeca1b742ef8d5edd3b
2017-07-28 21:11:18 -04:00
Manish Goregaokar 9fd9221a68 Bug 1383492: stylo: Bump app units version; r=emilio
MozReview-Commit-ID: JZp66wkSZc0
2017-07-27 18:57:19 -07:00
Bobby Holley c7e4963340 Bug 1384769 - Skip two smil tests due to crashes until bug 1385089 is sorted out. r=me
MozReview-Commit-ID: 4Bkav7OzvtU
2017-07-27 17:49:46 -07:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
J. Ryan Stinnett 9861677629 Bug 1380053 - Skip ua-style-sheet-input-number-1.html for Stylo. r=me
MozReview-Commit-ID: Bo8L7CaVgTk
2017-07-27 18:21:07 -05:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Tobias Schneider 3880ddff03 Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron
--HG--
extra : rebase_source : c4e47e2de8d615c77e7e9ce88f6b21c9d15c92e4
2017-07-26 22:53:46 -07:00
Emilio Cobos Álvarez b6a289fe2e Bug 1384065: Tests. r=heycam
MozReview-Commit-ID: BHcyfvgBhaK

--HG--
extra : rebase_source : be5413a90c17b239c7ffc13de2daa9a2a6c75eeb
2017-07-26 02:12:05 +02:00
Manish Goregaokar cfb8c81021 Bug 1341102: Update reftest expectations from servo PR #17880; r=orange
MozReview-Commit-ID: LkO6SYQmoa6
2017-07-27 00:18:05 -07:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Daisuke Akatsuka 000fc27d48 Bug 1379921 - Part 3: remove test fail annotations from reftest. r=hiro
Since we make "font-variant-alternates" animatable,
should remove test fail annotation from reftest.list.

MozReview-Commit-ID: ChdeSvUbTBh

--HG--
extra : rebase_source : fac9fb01a60c684d7169866964621f431b3508e3
2017-07-26 12:28:31 +09:00
Bobby Holley 8862f9008d Bug 1341102 - Reenable some more reftests. r=me
MozReview-Commit-ID: zYSKOW3uXi
2017-07-25 21:02:32 -07:00
Wes Kocher f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Geoff Brown 52530ae04e Bug 1380830 - Disable reftest container-with-clamping.html for frequent intermittent failures; r=me,test-only 2017-07-25 09:28:53 -06:00
Carsten "Tomcat" Book bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Ethan Lin 4cd23c6b8f Bug 1373530 - Clean some unused reftest annotations after enabling background color layer by default. r=kats 2017-07-25 17:49:04 +08:00
Cameron McCormack 2042375cc8 Bug 1371150 - Update test expectations. r=hiro
MozReview-Commit-ID: D6CK7LouSxO

--HG--
extra : rebase_source : 1cb4c6698575dae1c8d0e1b3894c2670d095cf75
2017-07-24 19:42:18 +08:00
Ya-Chieh Wu 2616e6e38b Bug 1375518 - Add reftest to check that border-radius is painted correctly on table. r=dbaron
MozReview-Commit-ID: KPuHtkttJim

--HG--
extra : rebase_source : 40658310460841ff95a6215bebcd3653d6fc62d1
extra : histedit_source : 0b2e14f7e4b02ed14d2266cd75ecef39d3944c79
2017-07-18 12:00:27 +08:00
ywu c02e41a36e Bug 1375518 - Add reftest to check that border radius is painted correctly on border-collapsed table. r=mattwoodrow
--HG--
extra : rebase_source : a5b43f73149a04639ffc069a38f960e58cab681c
extra : histedit_source : 9ec685177874b21bc6cd778431642bc41ce91b69
2017-07-18 11:47:17 +08:00
Wes Kocher fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Christoph Kerschbaumer 15ed99965d Bug 1383732 - Update more reftests to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:21 +02:00
Christoph Kerschbaumer 3671da468b Bug 1384048 - Update 212563-2.html to comply with new data: URI inheritance model. r=smaug 2017-07-25 12:13:50 +02:00
Wes Kocher 18f09001d3 Backed out 4 changesets (bug 1341102, bug 1383492) for windows build bustage and crashtest assertions a=backout CLOSED TREE
Backed out changeset 1c4310082e35 (bug 1341102)
Backed out changeset 849c109d96b4 (bug 1341102)
Backed out changeset 11cadad891a4 (bug 1383492)
Backed out changeset b4dfcf4f795e (bug 1383492)

MozReview-Commit-ID: 4bDAPgiaepG
2017-07-26 18:09:45 -07:00
Manish Goregaokar c463d163dc Bug 1383492: stylo: Bump app units version; r=emilio
MozReview-Commit-ID: JZp66wkSZc0
2017-07-26 15:59:47 -07:00
Hiroyuki Ikezoe 5f3681aa92 Bug 1380258 - A reftest for stopping CSS animations on discarded pseudo elements. r=birtles
This reftest fails without the first patch on stylo.

MozReview-Commit-ID: E5pBzBw9x8B

--HG--
extra : rebase_source : 4fe2a99bfed76d1b5fb320ef6a4f2b39ee5f5f2c
2017-07-24 09:20:22 +09:00
Jonathan Kew c029499324 Bug 1348788 - Update OTS to release 5.2.0 + latest upstream fixes, prior to addition of Graphite support. r=milan 2017-07-27 09:03:10 +01:00
Bobby Holley 172ae6c387 Bug 1341102 - Reenable some reftests. r=me
MozReview-Commit-ID: 7aVfa7FgWmn
2017-07-25 14:33:12 -07:00
cku 4949667cbb Bug 1318266 - Enable paint clip-path on mask layer. r=me.
MozReview-Commit-ID: 9nLdsiI4WU4

--HG--
extra : rebase_source : e81145aa439bf30f2e5f3cce369a44c3958404f1
2017-08-18 15:14:17 +08:00
Boris Zbarsky 04552c3152 Bug 1382786 part 4. Update test expectations. r=emilio
MozReview-Commit-ID: TjcLIFlje

--HG--
extra : rebase_source : caef652de10d73ed1d03c98b8db1898da9173c3c
2017-07-21 14:20:00 -04:00
Emilio Cobos Álvarez 63efb08c0a No bug - Annotate invalid-url-handling.xhtml with the bug open to audit it. r=comment-only
MozReview-Commit-ID: 5Lga81ewQno
2017-07-21 17:23:20 +02:00
Emilio Cobos Álvarez babe22878e Bug 1366721: Update reftest expectations. r=heycam
MozReview-Commit-ID: JugvULOAtvJ

--HG--
extra : rebase_source : 633ca5d4244441cd06bf9cd469b57cf42616b73e
2017-07-20 22:04:22 +02:00
Emilio Cobos Álvarez d39094ce7a Bug 1382812: Update expectations. r=me
MozReview-Commit-ID: AykAQ6hG4r0
2017-07-21 10:37:31 +02:00
Sebastian Hengst 67cbdbd702 Backed out changeset 498c1859cee1 (bug 1382956) for containing unrelated changes. r=backout on request from jeremychen 2017-07-21 10:16:49 +02:00
Jeremy Chen ddf2f0c279 Bug 1382956 - ease the hazard tolerance number for Bug 1380133. r=jeremychen
This is a quick work around for not blocking the progress of Bug 1380133.
We should definely investigate the real root cause sooner than later.

MozReview-Commit-ID: 8X1FH6f2GyN
2017-07-21 16:07:50 +08:00
Cameron McCormack 7e4845736b Bug 1380133 - Part 8: Update test expectations. r=emilio
MozReview-Commit-ID: 6nta22lEcov
---
 layout/reftests/bugs/reftest.list | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--HG--
extra : rebase_source : ccd58db2c720c6ae3a6e2ec71154921abcaaf06f
2017-07-21 11:50:59 +08:00
Hiroyuki Ikezoe 90bb73c672 Bug 1367278 - Call may_have_animations() for parent element in the case where the target is pseudo element. r=birtles
In case of pseudo elements ElementHasAnimations is set on the parent element.

updating-animation-on-pseudo-element.html fails without this patch, succeeds
with this patch.

MozReview-Commit-ID: HJaX7m8nV96

--HG--
extra : rebase_source : 15466f065d852ebc5fefd5d305639ba366a221f6
2017-07-20 12:53:11 +09:00
J. Ryan Stinnett b630c35725 Bug 1341102 - Update reftest annotations. r=me CLOSED TREE
MozReview-Commit-ID: KmLgQcOK9Jf
2017-07-20 18:00:23 -05:00
Daniel Holbert ec4c4d308e Bug 1382450: Turn on pref "dom.meta-viewport.enabled" for MathML reftest "font-inflation-1.html", like we do for other font-inflation reftests. r=jfkthame
MozReview-Commit-ID: 64mKD8dnX3f

--HG--
extra : rebase_source : 2308c8eb17a025e9980697dac22b29ed4beaae3e
2017-07-19 15:58:45 -07:00
Sebastian Hengst 8851ad32bc Backed out changeset 00edc2c32610 (bug 1380133) 2017-07-20 15:39:43 +02:00
Cameron McCormack 1d20d51f9a Bug 1380133 - Part 8: Update test expectations. r=emilio
MozReview-Commit-ID: 6nta22lEcov

--HG--
extra : rebase_source : 5ff82918663dc200540b42787fa75c593383c28a
2017-07-17 10:34:20 +08:00
Xidorn Quan 4c492d239c Bug 1379901 - Update reftest expectation. r=emilio
MozReview-Commit-ID: 6yiDpVxJhod

--HG--
extra : rebase_source : 1fdc3ded76cfe40d89e59c5b11431f27e3dbca9c
2017-07-13 14:15:37 +10:00
Ting-Yu Lin b87b2c1649 Bug 1381017 - Set NODE_DESCENDANTS_NEED_FRAMES from flatten tree parent. r=emilio,tnikkel
MozReview-Commit-ID: 3CBP8vc6OxB

--HG--
extra : rebase_source : edefbf78c564dc328b265496044171a71c77fb2f
2017-07-17 11:31:31 +08:00
Wes Kocher 74f8cf4b04 Merge m-c to autoland, a=merge
MozReview-Commit-ID: JZXw0y76rol
2017-07-17 17:38:19 -07:00
Emilio Cobos Álvarez 8ea66df98c Bug 1381276: Reftest. r=jryans
MozReview-Commit-ID: IJUFMtWNETe

--HG--
extra : rebase_source : 33939817156e422138ddd510814b90ecb9363c41
2017-07-16 16:20:38 +02:00
Nicolas Silva 60379ed9fc Bug 1377595 - Mark four tests as passing with webrender. 2017-07-17 13:49:22 +02:00
Nicolas Silva 0a6ed62d0b Bug 1377595 - fuzz a test. r=jrmuizel 2017-07-17 13:49:14 +02:00
Brad Werth 271b9b7643 Bug 1359834 Part 4: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 4a3f9ee513e29b83fbbad3a1c2d1176910681379
2017-07-12 13:16:25 -07:00
Sebastian Hengst 41619a2b14 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IUTH4DuEehM
2017-07-15 16:32:52 +02:00
Sebastian Hengst 926ac48d87 Backed out changeset 85b25bbb3498 (bug 1368120)
MozReview-Commit-ID: FrScgn7ZRbJ
2017-07-15 16:24:45 +02:00
Sebastian Hengst d2f601555e Backed out changeset 563461d35726 (bug 1368120)
MozReview-Commit-ID: 7VgG99Z8zTV
2017-07-15 16:24:41 +02:00
Sebastian Hengst a3269fc9a9 Backed out changeset fd12674b1d25 (bug 1368120)
MozReview-Commit-ID: Bdfw2wj3k1t
2017-07-15 16:24:37 +02:00
Sebastian Hengst 783b0ede50 Backed out changeset 983f34f53bd2 (bug 1368120)
MozReview-Commit-ID: 3JpO0mNIiVE
2017-07-15 16:24:33 +02:00
Alexis Beingessner 292a9fb375 Bug 1368120 - Mark tests as passing when using webrender. r=kats
MozReview-Commit-ID: sl5wW4lR55

--HG--
extra : rebase_source : 733d2ec7ae544d49857165208de6bb69361cdf9c
2017-07-13 16:06:47 -04:00
Jonathan Chan 4a6248b9a6 Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree with Gecko's, and pass orientations directly as an enum instead of as angles. r=manishearth
Both Servo and Gecko store the specified value of the image-orientation
property as a single-precision float, but Gecko does the conversion to radians
and the computation to identify which quarter-turn the angle is closest to
using doubles.

We add Angle::radians64 to perform the conversion to radians using doubles,
just as Gecko does, and then update image_orientation to perform the
computation the same exact way Gecko does in
nsStyleImageOrientation::CreateAsAngleAndFlip. This lets the previously failing
reftests pass.

We also update Gecko_SetImageOrientation to take an orientation directly
instead of an angle (otherwise we'd be doing the which-quarter-turn-is-closest
computation twice).

Finally this lets us re-enable the reftests for image-orientation previously
marked as fails-if(styloVsGecko||stylo).

MozReview-Commit-ID: 2zMMzQlsYEC

--HG--
extra : rebase_source : 99ed023e940193d4ad735a9ee27e45929a1efda1
2017-07-10 11:32:08 -07:00
Jonathan Chan 016ee566a7 Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
Previously we just took the input angle mod 2π, which will leave negative input
angles as negative. By checking if the input mod 2π is negative and if so
adding 2π and then taking that mod 2π again we can ensure that we end up with a
an angle in the range [0, 2π].

We only do this if the result of the initial mod is negative because this adds
rounding error that is enough to mess up whether 135 is determined to be closer
to 90 or 180, for example.

We add a test for this as well.

Also fix property_database.js to account for this (we assert that -90deg should
compute to the same value as the initial value, but it should actually compute
to 270deg).

MozReview-Commit-ID: Faf0f7wIEg3

--HG--
extra : rebase_source : 6b2d15f90e541fcb8b6083e15772eee514603e57
2017-07-07 16:03:37 -07:00
Alexis Beingessner 0c4b898c8b Bug 1368120 - Randomize gecko layer tests when using webrender. r=kats
MozReview-Commit-ID: 7KAI36RWUqK

--HG--
extra : rebase_source : 41999c5ad8a9890fc2bc3702cfc3f20d770dc03a
2017-05-18 13:22:27 -04:00
Alexis Beingessner 594ad7dba7 Bug 1368120 - Mark tests as failing due to borders being enabled. r=kats
MozReview-Commit-ID: 7KAI36RWUqK

--HG--
extra : rebase_source : ed5d1522cbcae539aff7e6f7571f0c7be0a472f4
2017-05-18 13:22:27 -04:00
Alexis Beingessner 959924bfa8 Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 7KAI36RWUqK

--HG--
extra : rebase_source : e7f476c7bdd641a71abade19a083300d9f2df133
2017-05-18 13:22:27 -04:00
Sebastian Hengst a0cd2b025a Backed out changeset 074972bd94a6 (bug 1359834) 2017-07-14 10:26:09 +02:00
Cameron McCormack 400112650a Bug 1380224 - Part 2: Reftest. r=emilio
MozReview-Commit-ID: BNJhwgdJ6tR

--HG--
extra : rebase_source : 43fc54df10d2021670bfe706421a0181a31670e1
2017-07-13 13:52:29 +08:00
Brad Werth 631aca48fc Bug 1359834 Part 2: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 0e23658a245c65630abd8233eb5def8509a01dad
2017-07-12 13:16:25 -07:00
Xidorn Quan 2b1d414ed0 Bug 1364274 part 3 - Adjust test expectation. r=heycam
MozReview-Commit-ID: GagkRtB8PGv

--HG--
extra : rebase_source : beb99889b8f8c10dda6a95bd9ae45d0bbe789d86
2017-07-05 14:08:45 +10:00
Kartikaya Gupta 6cde117d7f Bug 1379604 - Update fuzz values on counter-style-rule-clone from WR cset ff4ba8b. r=jrmuizel
MozReview-Commit-ID: CcnjH15ms5l

--HG--
extra : rebase_source : 63cf5a628acbd607236eed37b5ad2572898cbb54
2017-07-13 10:28:46 -04:00
L. David Baron e652cbb66b Bug 1308876 - Avoid initiating special-height reflow as a result of new paginated non-dirty reflows. r=dholbert
Previously, in paginated mode, all reflows were dirty reflows, since
tables do not split outside of printing, and prior to the primary patch
in bug 1308876, all reflows during printing are dirty reflows.  (The
isPaginated test here is actually for real pages, not fragmentation in
general.  However, the use here is appropriate for the meaning of
whether it's possible for the table to fragment.)

The fact that all reflows were dirty reflows meant that the
NS_FRAME_CONTAINS_RELATIVE_BSIZE flag was always cleared immediately
before reflow in ReflowInput::InitResizeFlags (which might also have set
the flag on *ancestors*).  This meant that, prior to the primary patch
in bug 1308876, the initial value of needToInitiateSpecialReflow that
was initialized from the presence of the
NS_FRAME_CONTAINS_RELATIVE_BSIZE flag was always false.  This patch
preserves that initialization in the presence of the change in the
primary patch in bug 1308876.

This caused a failure in a single test in our test suite, and in a
rather complicated way.  The test was
layout/base/crashtests/470851-1.xhtml, in which there was both a
difference in assertion count (due to the bogus assertion "data loss -
incomplete row needed more height than available, on top of page" in
nsTableRowGroupFrame::SplitRowGroup, whose companion assertion "data
loss - complete row needed more height than available, on top of page"
is already just an NS_WARNING) that caused a test failure, and a
difference in layout (the test split across 3 pages rather than 2) that
did not cause a test failure.

This patch fixes the difference in layout.  The immediate cause of the
layout difference was that a cell (the second outermost) on the second
page had a height, computed in CalcUnpaginatedBSize, that was large
enough to cause it to need to continue onto the third page.  This height
came (via nsTableRowFrame::GetUnpaginatedBSize) from the
UnpaginatedHeightProperty stored on the first-in-flow of its row, on the
first page, stored by CacheRowBSizesForPrinting called in
nsTableRowGroupFrame::ReflowChildren during the reflow of its row group
on the first page, in a special height reflow initiated during the
second-pass constrained-height reflow of the table (still,
second-outermost) on the first page, due to the change being fixed in
this patch.

MozReview-Commit-ID: 3E84VwdXuPs
2017-07-12 19:37:12 -07:00
L. David Baron e094153c1e Bug 1308876 - Don't continue reflow after deciding we need to try again due to page-break-inside:avoid. r=mats
The primary patch in this bug causes fewer dirty reflows, which leads to lines
being out-of-date for the reason described in the comment.  This causes
incorrect layout of some references sections on wikipedia, for which a
simplified testcase is included.

This bug was not caught by anything in our test suite, but I noticed it
while browsing wikipedia (since I use a build that has my patches in it
for my regular browsing).

MozReview-Commit-ID: 4hTQpGS2pZH
2017-07-12 19:37:12 -07:00
L. David Baron af959c6c34 Bug 1380521 - Use a more reliably invalid initial mBSizeOfARow so that we reflow properly if it changes to zero. r=dholbert
This fixes a failure in layout/reftests/bugs/467084-1.html, triggered by
the primary patch in bug 1308876, on Android only (or on all platforms
if I add 'html { overflow: hidden }').

I confirmed locally (on Linux) that, without this patch, both
layout/reftests/bugs/467084-1.html with 'html { overflow: hidden }', and
the reftest added here, fail, but that with the patch they both pass.

MozReview-Commit-ID: 3SjTlnBngBV
2017-07-12 19:37:11 -07:00
L. David Baron 57368ff4e7 Bug 1379334 - Make XULScrollFrame test for needing a vertical scrollbar because of the size of the horizontal scrollbar. r=dholbert
This fixes an incremental layout bug, where the number of times we
reflow the frame affects its layout.  This is because we make the
decisions about the vertical scrollbar before the horizontal scrollbar
(and, when making the decision, adjust mHelper.mScrollPort for the size
of the scrollbar).  Thus, in order to avoid a situation where reflowing
the scrollframe once leads us to have no vertical scrollbar, but
reflowing it a second time leads us to add that scrollbar, we need to
retest for the need for a vertical scrollbar after we add the horizontal
one.

(It's possible there are some other missing cases here, but this is the
one that (a) already existed in the code and (b) is needed to fix the
reftest failure on Windows that I got on bug 1308876, in
layout/reftests/text-overflow/xulscroll.html .

The reftest here shows the bug even without bug 1308876 (though I
confirmed that only by loading the test and reference in a nightly
build, not in the reftest harness).  I did test that, in combination
with bug 1308876, the test fails without the patch and passes with the
patch.

MozReview-Commit-ID: LhMi7LbmB6J
2017-07-12 19:37:11 -07:00
Jonathan Kew 6ceb7d87f9 Bug 835204 - Accept styled font-family names as used in the legacy GDI model, for compatibility with content that assumes GDI-style font naming. r=heycam 2017-08-01 11:25:35 +01:00
Louis Chang fd549ae9c8 Bug 1319407 - Add reftest for box-decoration-break with clip-path. r=cjku
MozReview-Commit-ID: CSkM3e15jIK

--HG--
extra : rebase_source : 7cdb6f6630bf7ffeb9f49f34b18536f2299b6eb9
2017-07-24 11:15:01 +08:00