Emilio Cobos Álvarez
7c7897149c
Bug 1414600
- Make media queries and viewport units in print be evaluated against the default page size minus margins. r=dholbert,nordzilla
...
For that, move the default page margin computation to nsPresContext.
See https://github.com/w3c/csswg-drafts/issues/5437 as to why doing this
and other alternatives.
Differential Revision: https://phabricator.services.mozilla.com/D87311
2020-08-19 10:32:16 +00:00
Emilio Cobos Álvarez
ffec6f608b
Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
...
It was removed from the spec.
Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-14 23:26:04 +00:00
Razvan Maries
f761608e79
Backed out changeset bca9f7459a16 (bug 1643656) for reftests perma failures. CLOSED TREE
2020-06-09 18:24:48 +03:00
Emilio Cobos Álvarez
6b86e22f72
Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
...
It was removed from the spec. Bug 1643934 updates the WPT tests.
Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-09 13:21:54 +00:00
Jonathan Kingston
83bd9bdac8
Bug 1494034 - Add support for CSS prefers-color-scheme media feature. r=emilio
2019-02-15 21:40:35 +01:00
quasicomputational
baf06c6032
Bug 1422235 - Implement the 'overflow-inline' media query. r=emilio
2018-12-28 02:16:59 +01:00
quasicomputational
20fa93316d
Bug 1422235 - Implement the 'overflow-block' media query. r=emilio
2018-12-28 02:16:53 +01: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
051e9a8579
Bug 1479239: prefers-reduced-motion should be sensible re. unsupported platforms / resistFingerprinting. r=hiro
...
With the current early-returning behavior, the expression will unconditionally
evaluate to false, which is a bit of a footgun.
Make sure to always return no-preference in unsupported platforms or when
resisting fingerprinting.
Differential Revision: https://phabricator.services.mozilla.com/D2491
MozReview-Commit-ID: 41uUudut7b4
2018-07-29 04:46:34 +02:00
Hiroyuki Ikezoe
4785e473c5
Bug 1478158
- Don't expose prefers-reduced-motion setting in content if Resist Fingerprinting enabled. r=heycam
...
MozReview-Commit-ID: JaTTT0HIjFx
--HG--
extra : rebase_source : bf3d44ed400960de5dd3d1b6e8571eab859c8897
2018-07-25 07:36:19 +09:00
Hiroyuki Ikezoe
2c38369627
Bug 1365045 - Reftests for prefers-reduced-motion. r=heycam
...
MozReview-Commit-ID: QprVfHbiuS
2018-07-24 16:50:47 +09:00
Emilio Cobos Álvarez
de099db7bd
Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
...
Summary: It uses two node bits that can be better suited for something else.
Reviewers: xidorn, smaug
Bug #: 1444905
Differential Revision: https://phabricator.services.mozilla.com/D709
MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Emilio Cobos Álvarez
29b6fbc81f
Bug 1405311: Remove uses of :-moz-system-metric. r=xidorn,dao
...
MozReview-Commit-ID: 1Yqy6KgMUB1
2017-10-12 14:47:06 +02:00
Phil Ringnalda
6ea2792d77
Backed out 9 changesets (bug 1396066) for Windows reftest failures
...
CLOSED TREE
Backed out changeset e41f9295ee00 (bug 1396066)
Backed out changeset 7a22efa8df6b (bug 1396066)
Backed out changeset ed95eea7105c (bug 1396066)
Backed out changeset 635746c88630 (bug 1396066)
Backed out changeset 5b1997aeaead (bug 1396066)
Backed out changeset 19c9ea492f5e (bug 1396066)
Backed out changeset b9d8e4588584 (bug 1396066)
Backed out changeset 87b44ea10407 (bug 1396066)
Backed out changeset e5b9aed44133 (bug 1396066)
MozReview-Commit-ID: K9q3MfPBc5E
2017-10-06 20:48:23 -07:00
Emilio Cobos Álvarez
cd52a82d9e
Bug 1396066: Restrict :-moz-system-metric to chrome and ua sheets. r=xidorn
...
MozReview-Commit-ID: AyHWP3QgGlA
2017-10-06 14:34:56 +02:00
Emilio Cobos Álvarez
70950bfcb1
Bug 1396048: Mark system-metrics-1.html as passing. r=me
...
MozReview-Commit-ID: Bg33Xa1GenR
2017-09-02 13:58:12 +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
Cameron McCormack
fab1072b7f
Bug 1291515 - Part 1: Introduce a pref for <style scoped>. r=bholley,dbaron
...
MozReview-Commit-ID: 1J9IvPrC0xh
--HG--
extra : rebase_source : 4a3da0dc41ec71d2804e6f8a778613e8749940be
2017-06-21 09:25:43 +08:00
Wes Kocher
913ce205d2
Backed out 2 changesets (bug 1291515) for reftest assertions in textarea-fieldset-legend-ref-2.html a=backout CLOSED TREE
...
Backed out changeset 4fac24cc0437 (bug 1291515)
Backed out changeset 4e8b918dc410 (bug 1291515)
MozReview-Commit-ID: F4yQK5ujqLP
2017-06-25 05:18:22 -07:00
Cameron McCormack
deae2413d6
Bug 1291515 - Part 1: Introduce a pref for <style scoped>. r=bholley,dbaron
...
MozReview-Commit-ID: 1J9IvPrC0xh
--HG--
extra : rebase_source : 2c3a139cc5e4e223e5b9b7892020c96df2cf264c
2017-06-21 09:25:43 +08:00
Shing Lyu
c729f26a66
Bug 1367636 - Update stylo-vs-stylo reftest expectations. r=heycam
...
MozReview-Commit-ID: DVO2R2RQuiK
2017-05-25 16:44:44 +08: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
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
Emilio Cobos Álvarez
6dcc77f3c6
Bug 1356074: Update test expectations. r=heycam
...
MozReview-Commit-ID: 575mMyFAtlx
2017-04-14 13:01:06 +08: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
Cameron McCormack
01afae2b4b
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-30 merge.
...
MozReview-Commit-ID: 5Uua9zyS9Db
2017-01-30 21:27:43 +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
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
Sebastian Hengst
2097128d5d
Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/css-mediaqueries. r=dholbert
...
MozReview-Commit-ID: 8YTydzVIbFj
2016-10-09 09:51:27 +02:00
Manish Goregaokar
63e75ca24b
Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
...
MozReview-Commit-ID: 9rKqASXgKZH
--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Shing Lyu
74414dd285
Bug 1302993 - Update some stylo reftest expectations; r=heycam
...
MozReview-Commit-ID: 5UUDlAUfBYP
--HG--
extra : rebase_source : c8aff1382e492bc07c59becc697abfb4f7bd8f95
2016-09-12 11:05:21 +05:30
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
Ryan VanderMeulen
f7ab6f4dde
No bug - Fuzz more css-mediaqueries tests on Android.
...
--HG--
extra : rebase_source : 5dd30a13f5dfe2714e46c6ea46deaa6e82a7445c
2015-08-31 16:40:43 -04:00
Ryan VanderMeulen
32e2481e0c
Bug 1178697 - Add Android fuzz to mq_print_height.xhtml.
...
--HG--
extra : rebase_source : f3a0fbaa043a13c486e43a5cf16d249c49f4d605
2015-08-30 18:07:44 -04:00
Alexandre Lissy
e8b4f395c0
Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal
2015-03-10 02:43:00 +01:00
CJKu
9691cf3136
Bug 1000722 - Rollback close reftest in bug 981477. r=ahal
2014-06-24 10:20:00 -04:00
Andrew Halberstadt
2aa6a20e6b
Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley
2014-06-13 10:05:52 -04:00
Vincent Chen
c53b5f77a8
Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal
2014-05-23 15:56:15 -04:00
Cameron McCormack
67b6df3187
Bug 840317 - Re-evaluate media queries in scoped style sheets. r=dbaron
2013-02-12 11:48:44 +11:00
Andrew Halberstadt
221179f50b
Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin
2013-01-03 15:35:01 -05:00
L. David Baron
28ec4a4285
Add tests for media queries of system metrics. (Bug 522149)
2009-10-15 17:23:19 -07:00