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

70 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta ec2096ed3f Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-04 21:57:48 +00:00
Coroiu Cristina 3983fddf6d Backed out 6 changesets (bug 1525314) for reftest failures at reftests/svg/filters/css-filters/saturate-zero.html om a CLOSED TREE
Backed out changeset 0ed2509b7191 (bug 1525314)
Backed out changeset af72d1c4c107 (bug 1525314)
Backed out changeset ab21a3ff4ae4 (bug 1525314)
Backed out changeset 02399933ac4b (bug 1525314)
Backed out changeset 95790a07a93c (bug 1525314)
Backed out changeset 28f52fd3934e (bug 1525314)
2019-07-05 00:29:12 +03:00
Kartikaya Gupta c08a0b6539 Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Depends on D36797

Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-03 17:13:33 +00:00
Emilio Cobos Álvarez 2c6c40c0a0 Bug 1382896 - Update tests. r=jrmuizel
Mostly straight-forward, the bordercol.css changes are just color renames, but
that file had bogus newlines and such so it looks much bigger.

Differential Revision: https://phabricator.services.mozilla.com/D6604
2018-09-26 15:28:13 +02:00
Emilio Cobos Álvarez 0cf08372ac Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange
See the discussion in https://github.com/servo/webrender/issues/1280. I think we
should do this sooner rather than later.

Need to update a couple reftests to hardcode the new colors, waiting on try for
that but should be trivial.

This makes a few more tests pass which are just marked as failure in bug 1487407,
because I implementing the border-collapsing reusing a bunch of Gecko code,
including the table 3d border stuff.

Differential Revision: https://phabricator.services.mozilla.com/D6565
2018-09-26 15:28:01 +02:00
Emilio Cobos Álvarez 2afc706839 Bug 1487407 - Properly support beveling bc borders in WR. r=Gankro
The previous border-collapse beveling implementation assumed that there would
only be one beveled border per side in the whole table, which is... not true at all.

So a bunch of borders ended up clobbering other values in mBevelBorders and
never getting painted.

I'm actually somewhat scarily surprised that only this reftest seems to fail
without this patch...

Here we reuse most of the existing one-off beveling / border rendering support
in nsCSSRendering, and convert the Gecko bevels into a WebRender display list
using rects and borders. This is only remotely possible thanks to Gecko not
supporting dotted / dashed beveled borders :)

This would slightly easier and presumably also more efficient with a triangle
display item in WR instead of (ab)using the border display item to render the
bevel, but this is probably relatively edge-casey so maybe not worth it... In
any case I've left a TODO comment there, that can be a nice followup if we deem
it worth it.

Anyway, I'm _so_ sorry for the border trick, I was this (||) close to go and
rewrite our border collapsing code, but after a few tries I realized it'd take
me a whole lot of time (instead of the day that this has taken me).

Differential Revision: https://phabricator.services.mozilla.com/D4793
2018-09-26 15:27:59 +02:00
L. David Baron 1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Kartikaya Gupta ea2d83d47e Bug 1465058 - Update reftest annotations for WR PR 2784. r=Gankro
MozReview-Commit-ID: F3YX2m6Z2UP

--HG--
extra : rebase_source : 3f1c36583a760a7c420e9728247830b8cbead538
2018-06-04 10:54:03 -04:00
Joel Maher bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Ethan Lin 85fe1ef2ef Bug 1429806 - Update annotations for the fix of webrender border problems (PR#2292). r=kats
MozReview-Commit-ID: E2L0gIHkDxP

--HG--
extra : rebase_source : 10bbd9fbd0f2ee39561d40720aa36d32d8fb5934
2018-01-16 15:54:37 +08:00
Ya-Chieh Wu 9bbdbfb532 Bug 1421887 - add reftest. r=dbaron
MozReview-Commit-ID: DqeXkD5r94D
2018-01-04 21:28:00 +02:00
Ya-Chieh Wu c3cfcede43 Bug 1405929 - reftest for border collapsed table. r=dbaron
MozReview-Commit-ID: Aq2j70scWp
2017-12-04 20:54:00 +02:00
Morris Tseng 9e6b5807aa Bug 1394226 - Add reftests. r=dbaron
MozReview-Commit-ID: FYOYVVKJsRg
2017-09-21 14:42:45 +08:00
Kartikaya Gupta feac69c750 Bug 1393836 - Enable advanced table layers by default with WebRender. r=mtseng
MozReview-Commit-ID: 3urG2CInsoI

--HG--
extra : rebase_source : 965d7da0352a28c755728830bdf59d45c79369f7
2017-08-25 15:06:06 -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
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
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
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
Sebastian Hengst d2f601555e Backed out changeset 563461d35726 (bug 1368120)
MozReview-Commit-ID: 7VgG99Z8zTV
2017-07-15 16:24:41 +02: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
Morris Tseng 16ab02aa27 Bug 929484 - Turn on some passed tests. r=mstange
MozReview-Commit-ID: A0gsDnCETCU
2017-05-05 14:30:16 +08:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08: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
Manish Goregaokar 77fc773f44 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

--HG--
extra : rebase_source : 03690c3130406831887a1393e1d28c03e626eb42
2017-03-26 13:53:34 -07:00
Cameron McCormack 460ee0bd75 Bug 1341651 - stylo: reftest expectation adjustments. r=me 2017-02-23 17:47:12 +08:00
Boris Zbarsky a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Boris Zbarsky 96054e12cc Bug 1324661 part 1. When recreating style contexts for elements in stylo, use the right frame (not the primary frame!) for tables. r=bholley,emilio
For a table, the primary frame is the table wrapper anonymous box.  That
anonymous box inherits style from its _child_ table frame, which is the frame that
has the actual style for the element.  So we want to use the stylo-computed
style for the table frame, and then compute an updated style for the table
wrapper too, because some things (like absolute positioning) are done for the
table wrapper anonymous box, not the table frame.
2017-02-17 14:52:39 -05:00
Matt Woodrow d1a27bbffa Bug 1324524 - Make sure we use nsDisplayTableCellbackground for tables with border-collapse. r=tnikkel 2017-02-13 13:07:36 +13:00
Phil Ringnalda f1c2bbe99a Backed out changeset 88b5a981e275 (bug 1324524) for Win8 reftest bustage 2017-02-12 20:52:12 -08:00
Matt Woodrow 3f864c48ae Bug 1324524 - Make sure we use nsDisplayTableCellbackground for tables with border-collapse. r=tnikkel 2017-02-13 13:07:36 +13:00
Cameron McCormack 90e83367ae Bug 1334768 - stylo: Test expectation adjustments for for 2017-02-09 merge. r=me
MozReview-Commit-ID: AhvCAu3NYrb
2017-02-09 21:11:09 +08:00
Cameron McCormack 8731638062 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Sebastian Hengst 79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack 0333846acf Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +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
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
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
Boris Zbarsky 14b62b0925 Bug 1137148. Fix painting of ridge/groove borders for border-collapsed tables. r=jwatt 2015-07-23 11:51:09 -04:00
Jonathan Kew 2c538d45a5 Bug 1174711 - patch 2 - Convert nsTableFrame to work with logical coordinates. r=dholbert 2015-06-22 10:33:34 +01:00
Jonathan Kew 84d9d4e6f1 Bug 1157569 - part 12 - Convert physical values from BCPropertyData to logical when returning from Get[Included]OuterBCBorder. r=roc 2015-06-17 11:03:25 +01:00
Jonathan Kew 24200db09a Bug 1157569 - Reftest for RTL table with border-collapse. r=roc 2015-06-17 11:02:57 +01:00
Jonathan Watt b3b5a2204e Bug 477504 - Snap to device pixels any CSS border edges that are painted as a polygon. r=mats 2014-10-22 10:48:37 +01:00
Ryan VanderMeulen 9528f0ccdf Bug 778413 - Move and rename the reftest. irc-r=dbaron
--HG--
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-ref.html => layout/reftests/table-width/cell-pref-width-border-box-ref.html
rename : layout/reftests/table-bordercollapse/minimum_cell_width_calculation-Border-Box.html => layout/reftests/table-width/cell-pref-width-border-box.html
2012-08-25 17:18:43 -04:00
Tal Aloni cc46d8945d Bug 778413 - Minimum cell width calculation reftest. r=dbaron 2012-08-25 12:30:47 +02:00
Tal Aloni 4096278930 Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron 2012-06-30 12:01:31 -04:00