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

8356 Коммитов

Автор SHA1 Сообщение Дата
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