Commit Graph

46 Commits

Author SHA1 Message Date
Kartikaya Gupta
97d708b2a2 Bug 1501582 - Mark geckoview failures. r=gbrown
There are a number of failures, for which I've filed separate bugs.
And then a lot of fuzziness. I manually inspected the reftest analyzer
results on try pushes to distinguish failures vs fuzziness.

Depends on D34537

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:03 +00:00
Glenn Watson
21c39a0ede Bug 1548171 - Allocate texture cache location for render task cache immediately. r=kvark
This is a first step towards allowing (some) batching work to be
done during prepare_prims pass rather than render pass building.

This is prep work related to output different batch lists for a given
picture (e.g. a different batch list per dirty region), rather than
replaying the same batch list.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:31:47 +00:00
Mats Palmgren
ff5ea5f6ab Bug 205202 part 2 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Test updates. r=emilio 2019-03-24 23:13:53 +01:00
Daniel Holbert
cefac136b8 Bug 1504594: Increase fuzzy tolerance for reftest mouse-click-twice-float-details.html (no review, just minor adjustment to test annotation) 2019-01-30 12:53:51 -08: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
Emilio Cobos Álvarez
48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Daniel Holbert
56484d9fda Bug 1294278 followup: Extend existing fuzzy annotation to include Mac as well. (no review, just a reftest-manifest tweak)
MozReview-Commit-ID: yTUU9RylTK
2018-02-08 12:52:57 -08: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
Hiroyuki Ikezoe
a9221913fd Bug 1377648 - Test case for reconstruction details element when removing summary element. r=heycam
Currently these two test cases don't fail either on gecko or stylo even if the
patches in this patch series are not applied, but will fail once the patch for
bug 1374175 (i.e. not returning reconstruction damage from
compute_style_difference in some cases) landed without this patch series on
stylo. That means that, on stylo, reconstruction of details element on removing
child summary triggered by RecreateFramesForContent in
MaybeRecreateContainerForFrameRemoval has not worked well.

MozReview-Commit-ID: El6p0UwWaJb

--HG--
extra : rebase_source : 4f06423f8a23a3d430b7a0d22ff07c316f3e633d
2017-07-05 15:53:04 +09:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Ravi Shankar
5e8f5fe538 Bug 1363664 - Update test expectations for some grid-* properties; r=manishearth
MozReview-Commit-ID: GhffFwDCQzs

--HG--
extra : rebase_source : d30520588935351d41c1cde4a2254e27e76c2946
2017-05-19 01:17:58 +05:30
Boris Zbarsky
216545a30f Bug 1364591 test expectation update, now that we implement :-moz-native-anonymous support in stylo. r=emilio
MozReview-Commit-ID: 90ZArOpWVG4

--HG--
extra : rebase_source : cfeff24c16b331a29bb235e43f4aa434c63e080f
2017-05-15 15:59:19 -04:00
Hiroyuki Ikezoe
2cdc2fb924 Bug 1356916 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 93fi2Z5ZPtE

--HG--
extra : rebase_source : 15353de0bd02c4dd343936aec6f62e1836fc123b
2017-05-11 07:55:27 +09:00
Hiroyuki Ikezoe
751ec1a2f7 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
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
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
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
Matt Brubeck
04463a6104 Bug 1340683 - stylo: Update stylo test expectations r=KWierso
MozReview-Commit-ID: 54PFVqZfaau

--HG--
extra : rebase_source : abda5f644503f09934918538cfaf5e5e33194689
2017-03-16 11:38:33 -07: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
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
Daniel Holbert
341deeeb99 Bug 1316430 followup: Expand fuzzy annotation to cover all platforms, for reftest "mouse-click-twice-float-details.html". (test-only, no review)
MozReview-Commit-ID: 4j4duHLNgX1
2016-12-28 11:45:34 -08:00
Ting-Yu Lin
55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Neerja Pancholi
f5845ba7b6 Bug 1316430 - Add fuzzy annotation for reftests/details-summary/mouse-click-twice-float-details.html r=dholbert
MozReview-Commit-ID: 47XhcgMrOu6

--HG--
extra : rebase_source : 3cea0a9ec50dfc465bdf0eb1c87ba451a434024a
2016-11-09 13:15:27 -08:00
Neerja Pancholi
57478826a0 Bug 1315846 - Fix reftests with minor AA and layerization issues by replacing text with tall divs as placeholders r=dholbert
MozReview-Commit-ID: 4FB1MrQjGhE

--HG--
extra : rebase_source : fb0ecd03e167c3d815e7ae013366914bad278dbb
2016-11-08 13:34:09 -08:00
Neerja Pancholi
4ef4831d54 Bug 1294278 - Add fuzzy annotation for mouse-click-overflow-auto-details.html in reftest.list. r=mstange
MozReview-Commit-ID: GJgRTyayf18

--HG--
extra : histedit_source : 7eb82c7423f3a92b651ead7650b417b14bc3c38d
2016-10-28 14:41:31 -07:00
Ting-Yu Lin
570d1f0e83 Bug 1304441 Part 3 - Insert main summary's frame construction item at front of the list. r=bz
Change the logic that moves the main summary to the front from operating
on generated frames in DetailsFrame::SetInitialChildList() to operating
on frame construction item list in AddFrameConstructionItemsInternal()
so that it will be correct when cooperating with ::first-line.

The root cause of the bug reported is because when specifying
::first-line on details element, the first frame of summary element,
which is generated due to ib-split, will be wrapped in nsFirstLineFrame.
The original code fails to find the summary frame in the wrapper frame
and triggers assertion because of the second ib-split summary frame. To
fix that, we need to descend into the child list of wrapper frames when
checking the main summary.

Add original test case as a crashtest as well as reftests to clearly
reproduce the issue.

Note that in the reftest, the blue color in ::first-line is applied
incorrectly to the second line in the summary due to bug 520605.

MozReview-Commit-ID: Bv4Vcvxp6pY
2016-10-05 14:43:32 +08:00
Ting-Yu Lin
13f0d4632f Bug 1299753 Part 2 - Create block formatting context for DetailsFrame if needed. r=bz
nsCSSFrameConstructor::ConstructNonScrollableBlock() has logic to
determine whether to create a block formatting context for a block
frame. I refactor the function to make it reusable by
nsCSSFrameConstructor::ConstructDetailsFrame().

Also, make NS_NewBlockFrame() accept two arguments as other frame
factory functions so that it could be pointed by BlockFrameCreationFunc.
NS_NewBlockFormattingContext is changed accordingly.

The construction for a scrollable DetailsFrame will be further revised
in Part 3.

MozReview-Commit-ID: 8TwG9YMyGva

--HG--
extra : rebase_source : fffdd974df81a809a607491d2534aa8dd2d13ab1
2016-09-07 14:45:42 +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
adcdc0aaed Bug 1297835. Don't suppress the scroll bits of a non-open <details> that has the appropriate overflow styles. r=TYLin 2016-08-25 14:35:33 -04:00
Ting-Yu Lin
97ce0e7053 Bug 1245036 Part 2 - Add columns test case for <summary> element. r=bz
After bug 1258657 landed, summary element is rendered by nsBlockFrame,
so it supports css columns for free.

MozReview-Commit-ID: 2RPSYk81BHy

--HG--
extra : rebase_source : 9b8e2be476319d938cfd06e876c68a18f8995bce
2016-04-15 12:21:04 +08:00
Ting-Yu Lin
37c647743c Bug 1245036 Part 1 - Use default-preferences in details and summary reftest.list. r=bz
Turn on the pref at once instead of duplicating the line in every single
tests.

MozReview-Commit-ID: L8cf2mVxfF1

--HG--
extra : rebase_source : 7992753cd178dc652fa76b2fa3d4877e4104b0eb
2016-04-15 12:21:04 +08:00
Ting-Yu Lin
35c5e05787 Bug 1264533 - Correct the universal selector for summary to include all namespaces. r=bz
MozReview-Commit-ID: 7jtNayMA1CY

--HG--
extra : rebase_source : a1313ad90cbaefbeb8bce0c34a97e9b10663ca52
2016-04-14 14:27:52 +08:00
Ting-Yu Lin
7379c19c84 Bug 1258657 Part 1 - Change summary default style to "display: list-item" to match html spec. r=bz
Per html spec, the disclosure triangle can be generated via "display:
list-item", I removed the code to generate the triangle in
SummaryFrame::SetInitialChildList(). That is, when a web page set
"display: block" to the summary, the triangle will disappear, too.

Now SummaryFrame does nothing and is going to be removed in Part 2.

Also summary element should not increment the counter as hinted as
"counter-increment: list-item 0" in the spec. Hence the change in
nsBlockFrame::RenumberListsFor().

The rendering hint in html spec:
https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements

MozReview-Commit-ID: DELGYFe3zGX

--HG--
rename : layout/reftests/details-summary/open-summary-block-style.html => layout/reftests/details-summary/open-summary-block-style-ref.html
extra : rebase_source : 4bd5493fb6a1108eea31aef1d89f563f781b753f
2016-04-13 13:34:14 +08:00
Ting-Yu Lin
a7ea8a84ac Bug 1245424 Part 3 - Add reftest for click events with actions in capturing phase. r=bz
These tests modify details or summary elements in the 'click' event
listener in capturing phase higher up in the DOM tree.

MozReview-Commit-ID: Lp5OzXnNgL4

--HG--
extra : rebase_source : 5772a84795b1b8b6b9bb6cbf928bfb612eb07971
2016-03-24 15:05:29 +08:00
Ting-Yu Lin
577ce8ed43 Bug 1245424 Part 2 - Stop checking the existence of details frame before toggling. r=bz
MozReview-Commit-ID: 6Xgyu7DDquy

--HG--
extra : rebase_source : 6b5ed8fa20117fcafea7dde779c550f6fd79be34
2016-03-24 15:05:29 +08:00
Ting-Yu Lin
22224242ba Bug 1249556 - Implement toggling details by keyboard. r=smaug
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.

'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.

MozReview-Commit-ID: HE6IduUGCpj

--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Ting-Yu Lin
612a133caa Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.

--HG--
extra : rebase_source : 6b47e64672720ffecd23f670c31de1c7d92bee8c
2016-02-09 14:07:01 +08:00
Ting-Yu Lin
1e5d352993 Bug 591737 - Add pref for details and summary elements. r=bz
--HG--
extra : commitid : C40ecHqSxrO
extra : rebase_source : 937479989a52b57f3dec07a74dd9dad17ff69db7
2016-01-20 23:20:43 +08:00
Ting-Yu Lin
c05be25fcd Bug 591737 - Add reftest for mouse click on summary. r=bz
--HG--
extra : commitid : A6Rvr5oDl6V
extra : rebase_source : b2ad4d8cfd5b5bfa8785d6ef1df465da98f7e770
2016-01-20 23:20:42 +08:00
Ting-Yu Lin
4cf1fb1626 Bug 591737 - Add reftests for details and summary. r=bz
--HG--
extra : commitid : 4a11NfD9hZ0
extra : rebase_source : d8e2f28fb17df614a9a3da47289ba848d74c94ca
2016-01-20 23:20:41 +08:00