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

75 Коммитов

Автор SHA1 Сообщение Дата
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst 88c73138b1 Backed out changeset 4d8dfee7ebf3 (bug 1351548) 2017-04-26 13:12:59 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu 0673a3e783 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: 3GHNhi3gdg9
2017-04-26 18:21:48 +08:00
Shing Lyu dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Cameron McCormack dc932fcd38 Bug 1356510 - stylo: Update test expectations. r=manishearth
MozReview-Commit-ID: H9cunzhaNV

--HG--
extra : rebase_source : 931683d2c76cc81e642865357ffaf68857e0bc21
2017-04-16 22:11:18 +10:00
Manish Goregaokar 111b56703c Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz
MozReview-Commit-ID: 90qDHl0Ane4

--HG--
extra : rebase_source : e3dace4a0ec7345ec801c02db7339e78a6242a1e
2017-03-29 12:10:00 -07:00
Xidorn Quan 6e6684128a Bug 1345696 part 8 - Update test expectations. r=heycam
MozReview-Commit-ID: 5zQjzFUKdR8

--HG--
extra : rebase_source : 18d7a9cc76a21ab2d90e75eb4194f61fcd9797de
2017-03-28 16:28:36 +11:00
Emilio Cobos Álvarez cd7b3b41b7 Bug 1349885: Reftest expectations update. r=emilio
MozReview-Commit-ID: 5lXBsbT3Gvc
2017-03-23 17:08:00 +01:00
Manish Goregaokar 260e308c26 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:48 -08:00
Sebastian Hengst a793db28eb Backed out changeset 2d887234705f (bug 1338936) 2017-02-19 10:37:16 +01:00
Manish Goregaokar a6f7209030 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:57:58 -08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack 35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Xidorn Quan c7690fb4ef Bug 1322843 part 3 - Add reftests for this bug. r=dbaron
Test 1322843-1[a-d] fail before part 2, while the other two tests fail
before patch for bug 1260031.

MozReview-Commit-ID: 9QfBvtwQOvP

--HG--
extra : rebase_source : d42b2ace21fb2a9e896f89f97b01c2e0584c7313
2016-12-22 18:32:08 +11:00
Mason Chang b2a25208e6 Bug 1323587. Part 2: Reftest fuzzing for updated gamma and contrast. r=lsalzman 2016-12-15 18:37:38 -08:00
Ting-Yu Lin 384e9e119b Bug 1291110 Part 4 - Use line BSize to query available space when updating nsLineLayout. r=dbaron
In nsBlockFrame::PlaceLine(), we query the float available space by
using the line's BSize(), which may cause the line to reflow again due
to available space shrunk.

The first issue lies in the second reflow. That is, we do not leverage
the line's BSize() computed in the first reflow to query the float
available space when updating the inline reflow engine in
BlockReflowInput::AddFloat(). So some tall inline elements could still
overlap the floats as in the first reflow.

To solve this, we cache current line's BSize so that it could be
used to update the inline reflow engine when redo the line.

Another issue is in nsBlockFrame::PlaceLine(). When determined whether
the available space is shrunk, we use the float manager's state *before*
placing the line. So if current line has floats, they're not considered.

To solve this, we use the current set of floats to get the float available
space for comparison, and leave the original aFloatAvailableSpace to provide
the information when redoing the line.

MozReview-Commit-ID: GqqNlphgxYS

--HG--
extra : rebase_source : e2c64ab1ac363c7a08e532dc043bee69d6455049
2016-08-22 19:42:37 +08:00
L. David Baron 562f8f0223 Update links pointing to my personal website (http -> https). No bug.
(Patch written entirely using a single sed command,
's,http://dbaron.org,https://dbaron.org,g' .)

MozReview-Commit-ID: 12JARDNn8H4
2016-10-13 11:41:51 -07:00
Manish Goregaokar fe560e754d Bug 1303920 - Update stylo reftest list; r=heycam
MozReview-Commit-ID: 6fKFLbTL2gW

--HG--
extra : rebase_source : bf87e02799dc530b7d26b2040071ecd8213d36df
2016-09-19 20:20:03 +05:30
Ting-Yu Lin 4ecdeeb2ad Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
MozReview-Commit-ID: LCegChkryHj

--HG--
extra : rebase_source : a491cbf457ebb4abaf7db18adea69393ac9cf3bd
2016-08-23 13:55:16 +08:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Xidorn Quan 4e5bd79656 Bug 1260031 - Not force break before a block when calculating intrinsic width if the current line is empty and the block cannot intersect floats. r=dbaron
MozReview-Commit-ID: 9rNUDK5t5jg

--HG--
extra : rebase_source : 2a852efe3f9801884e558f22ae7d9550fae87836
2016-08-23 09:29:45 +10:00
Phil Ringnalda 10f51fb066 Backed out 4 changesets (bug 1297097) for range reftest failures and test_property_database.html mochitest failures
Backed out changeset b54a7a48f417 (bug 1297097)
Backed out changeset 85c47c859eeb (bug 1297097)
Backed out changeset 29d9fb1f4cec (bug 1297097)
Backed out changeset 5f157ad3f509 (bug 1297097)
2016-08-24 22:35:23 -07:00
Ting-Yu Lin 2e89b612fe Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
MozReview-Commit-ID: LCegChkryHj

--HG--
extra : rebase_source : 7893e9a62d76da82c0a620430468dc6fde4c57cc
2016-08-23 13:55:16 +08:00
Mason Chang b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
L. David Baron 82aa75776d Bug 1236745 - Fix infinite loop resulting from block formatting context entering resize oscillation due to considering floats over its whole height when sizing it. r=dholbert
What's happening here is that we enter an infinite loop by oscillating
between two states.  The code assumes that (a) the available space will
never grow, only stay the same or shrink, and (b) that we should break
out of the loop if it stays the same.  This also means we hit the
assertion about the available space growing every other time through the
loop.

This is in the inner loop in nsBlockFrame::ReflowBlockFrame that was
introduced in https://hg.mozilla.org/mozilla-central/rev/80ef9bb2c2e9 .

The problem is fundamentally a logic error in that code.  The makes the
assumption that if you reduce the width available to a block formatting
context or replaced block-level element, its height does not shrink.
(The "replaced block" (really block formatting context) in this case, as
in the original testcase, is a scroll frame.  I didn't debug the
original testcase enough to figure out what caused its sizing
characteristics, although a percentage-width image does seem like the
most likely candidate.)

Without the patch, the reftest test (but not reference) hangs, as does
the semi-simplified test in the bug (given a narrow window).

With the patch, neither the semi-simplified test in the bug nor the
reference hangs, and the reftest passes.

--HG--
extra : commitid : APy8PfXlvvz
2016-02-04 09:41:44 +11:00
Jonathan Kew e735d0520a Bug 1122918 - Put the logical values for 'float' and 'clear' behind a pref, and enable them only on nightly builds and for B2G. r=heycam 2015-11-10 09:07:01 +00:00
Jonathan Kew c4002c4144 Bug 1122918 - Add reftests using clear:inline-{start,end} values. r=heycam 2015-09-18 16:25:27 +01:00
Jonathan Kew 5cb2b4ceea Bug 1122918 - Part 3 - Use the resolved physical values of 'float' and 'clear' properties during layout. r=heycam 2015-09-18 16:25:21 +01:00
Jonathan Kew b2b40026ff Bug 1122918 - Reftest for inline-start/end values of the 'float' property. r=heycam 2015-09-18 16:25:02 +01:00
L. David Baron ad95cf903e Bug 1207157 patch 2 - Stop caring about a replaced element's margin-inline-end when determining whether it fits next to floats. r=jfkthame
The change to the 427129-table-caption test was just to make the
reference match the test.

The change to the other 427129 tests was duplicating the test that
failed, adjusting the reference for one version of it (no longer pushed
down), and testing an alternative pushed-down case for the other
version.

It's not clear to me how to test that that
1062963-floatmanager-reflow.html still tests what it originally tested,
given the code change that's happened since.

--HG--
extra : commitid : 178ok0G1NFo
2015-09-27 02:19:14 -07:00
L. David Baron f65fb08529 Bug 1207157 patch 1 - Add reftest. r=jfkthame
--HG--
extra : commitid : GiLfGyiuizo
2015-09-27 02:19:14 -07:00
Jonathan Kew 81bf9c5630 Bug 1193519 pt 9 - Reftests with floats in writing-mode: sideways-lr. r=dholbert
--HG--
rename : layout/reftests/floats/float-in-rtl-vlr-1-ref.html => layout/reftests/floats/float-in-rtl-slr-1-ref.html
rename : layout/reftests/floats/float-in-rtl-vlr-1a.html => layout/reftests/floats/float-in-rtl-slr-1a.html
rename : layout/reftests/floats/float-in-rtl-vlr-1b.html => layout/reftests/floats/float-in-rtl-slr-1b.html
rename : layout/reftests/floats/float-in-rtl-vlr-1c.html => layout/reftests/floats/float-in-rtl-slr-1c.html
rename : layout/reftests/floats/float-in-rtl-vlr-1d.html => layout/reftests/floats/float-in-rtl-slr-1d.html
rename : layout/reftests/floats/float-in-rtl-vlr-2-ref.html => layout/reftests/floats/float-in-rtl-slr-2-ref.html
rename : layout/reftests/floats/float-in-rtl-vlr-2a.html => layout/reftests/floats/float-in-rtl-slr-2a.html
rename : layout/reftests/floats/float-in-rtl-vlr-2b.html => layout/reftests/floats/float-in-rtl-slr-2b.html
rename : layout/reftests/floats/float-in-rtl-vlr-2c.html => layout/reftests/floats/float-in-rtl-slr-2c.html
rename : layout/reftests/floats/float-in-rtl-vlr-2d.html => layout/reftests/floats/float-in-rtl-slr-2d.html
rename : layout/reftests/floats/float-in-rtl-vlr-3-ref.html => layout/reftests/floats/float-in-rtl-slr-3-ref.html
rename : layout/reftests/floats/float-in-rtl-vlr-3a.html => layout/reftests/floats/float-in-rtl-slr-3a.html
rename : layout/reftests/floats/float-in-rtl-vlr-3b.html => layout/reftests/floats/float-in-rtl-slr-3b.html
rename : layout/reftests/floats/float-in-rtl-vlr-3c.html => layout/reftests/floats/float-in-rtl-slr-3c.html
rename : layout/reftests/floats/float-in-rtl-vlr-3d.html => layout/reftests/floats/float-in-rtl-slr-3d.html
rename : layout/reftests/floats/float-in-rtl-vlr-4-ref.html => layout/reftests/floats/float-in-rtl-slr-4-ref.html
rename : layout/reftests/floats/float-in-rtl-vlr-4a.html => layout/reftests/floats/float-in-rtl-slr-4a.html
rename : layout/reftests/floats/float-in-rtl-vlr-4b.html => layout/reftests/floats/float-in-rtl-slr-4b.html
rename : layout/reftests/floats/float-in-rtl-vlr-4c.html => layout/reftests/floats/float-in-rtl-slr-4c.html
rename : layout/reftests/floats/float-in-rtl-vlr-4d.html => layout/reftests/floats/float-in-rtl-slr-4d.html
2015-09-24 10:23:35 +01:00
L. David Baron 119b557460 Bug 538194 patch 2 - Redo block reflow below floats when the height of a block that does not intersect floats pushes it into the way of other floats. r=roc
This adds an additional retry loop in block reflow that we can only
trigger when reflowing a block formatting context (replacedBlock
non-null).  It can retry in two different ways, either with a narrower
width but at the same vertical position (when
ReplacedBlockFitsInAvailSpace is still true) or at a new vertical
position (which is treated as a form of clearance).

Fortunately we don't have to worry about margins collapsing *through*
such a boundary since we're dealing with a new block formatting context.

Note that Chromium passes all of the new bfc-displace-* tests, although
it moves the block formating context down unnecessarily in
bfc-shrink-1.html (which we do neither before nor after the patch),
though agrees with the width we have after the patch (but not before the
patch).

--HG--
extra : commitid : FgDc4hjTxHp
2015-08-02 21:03:09 -07:00
L. David Baron dc94df9c46 Bug 478834 - Record that we need to look for clearance if we encounter a block that might need to be pushed down for intersecting floats (i.e., one that establishes a BFC). r=roc
Without this change, nsBlockFrame::ReflowBlockFrame will fail to have
mayNeedRetry true, which means that it won't set
blockHTMLRS.mDiscoveredClearance, which means that on a descendant
replaced block we will fail to fall into any of the cases that call
ClearFloats.  This change will cause us to hit the first ClearFloats
call and discover the need for clearance.

I tested locally that the new reftest fails without the patch and passes
with the patch.
2015-07-27 20:23:56 -07:00
Jonathan Kew 8ebb1db8e5 Bug 1131451 part 2 - Respect the container height when converting vertical-RTL inline-direction coordinates. r=dholbert
* * *
Bug 1131451 part 2a - Remove hack for rtl-in-vertical-mode from ReflowAbsoluteFrame. r=dholbert
* * *
Bug 1131451 part 2b - Mark relative-overconstrained tests that now pass in vertical mode with rtl. r=dholbert
* * *
Bug 1131451 part 2c - Mark vertical border-collapse bevel tests that now pass. r=dholbert
* * *
Bug 1131451 part 2d - Remove partial rtl-in-vertical support from nsBidiPresUtils now that logical-coordinate classes handle it better. r=dholbert
* * *
Bug 1131451 part 2e - Remove hack for float positioning in vertical mode with dir=rtl. r=dholbert
* * *
Bug 1131451 part 2f - Mark vertical-mode float-in-rtl reftests that are now passing. r=dholbert
* * *
Bug 1131451 part 2g - Compute both dimensions of containerSize in nsFlexContainerFrame::DoLayout. r=dholbert
* * *
Bug 1131451 part 2h - Mark flexbox writing-mode tests that are now passing. r=dholbert
2015-07-16 10:08:05 +01:00
Jonathan Kew e4abf3e07a Bug 1182008 - Fix inconsistencies between testcases and reference files in (currently-failing) vertical float-in-rtl reftests. r=smontagu 2015-07-09 19:50:30 +01:00
Andrew Comminos 065394444c Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Jonathan Kew 412e118c03 Bug 1167930 - Handle direction:rtl in vertical modes when converting a LogicalMargin to physical. r=smontagu 2015-05-28 18:29:07 +01:00
Jonathan Kew cddb2c2354 Bug 1164852 patch 2 - Remove irrelevant position:relative from all the float-in-rtl-* testcases, too. rs=smontagu 2015-05-16 12:36:25 +01:00
Jonathan Kew 3ba85e992b Bug 1164852 patch 1 - Rewrite reference files for float-in-rtl-* reftests to avoid the use of position:relative. r=smontagu 2015-05-16 12:36:22 +01:00
Jonathan Kew a31e645b09 Bug 1162485 - Ensure the vertical-text.enabled pref is set for reftests that involve vertical writing modes. r=smontagu 2015-05-11 11:35:40 +01:00
Simon Montagu 38fee71eb0 Tests for bug 1150614, r=jfkthame 2015-05-03 01:33:31 -07:00
Jonathan Kew b52d9eb75f Bug 1157691 - Explicitly enable writing-mode support for reftests that require it. r=smontagu 2015-04-27 09:36:01 +01:00