Commit Graph

3483 Commits

Author SHA1 Message Date
Phil Ringnalda
a77d5dd9d2 No bug because we seem not to care, mark linear-gradient-1b.html as failing on 10.8+Azure too 2012-09-04 08:31:09 -07:00
Anthony Jones
7232f42a67 Bug 784573 - Reftest for azure/cairo transform problem. r=joe 2012-09-03 17:49:33 -04:00
Frédéric Wang
a34d54a006 Bug 560100 - Update reftests for the <ms> element. r=karlt 2012-09-03 08:13:30 -04:00
Boris Zbarsky
f7db6bf41a Bug 786105. Setting inline style properties to null should remove them, just like setting them to empty string does. r=peterv 2012-08-31 20:59:46 -04:00
Ehsan Akhgari
3c78f81f54 Bug 785720 - Move the MathML token frame leading/trailing whitespace trimming logic to nsTextFrame; r=roc 2012-08-30 21:32:02 -04:00
Scott Johnson
dfe64eb234 Bug 786891, Followup 1: Remove specific directories for css3-multicol accidentally added to import-tests.py in prev patch. DONTBUILD because NPOTB. [r=me] 2012-08-30 16:30:10 -05:00
Scott Johnson
ac76e0a6e5 Bug 786891: Refactor import script for css reftests and add support for auto-prefixing, DONTBUILD because NPOTB. [r=dbaron] 2012-08-30 14:38:37 -05:00
Robert Longson
39422274cf Bug 786216 - Fix evenodd fill-rule. r=jwatt 2012-08-28 15:47:01 +01:00
Dan Shearmur
00fbecf0fb Bug 527459 - Tests for paddings specified in percent on text inputs. r=bz 2012-08-28 01:21:11 -03:00
Mats Palmgren
ba942b526f Bug 785684 - Tests for overflow-x/y:hidden on display:table/table-cell. 2012-08-28 03:55:31 +02:00
Boris Zbarsky
6203f67c1c Bug 785754. Fix handling of max-height for frame classes that still seem to think that the mComputedMinHeight/mComputedMaxHeight of a reflow state are border-box heights, not content-box heights. r=mats 2012-08-27 15:46:23 -04:00
Ryan VanderMeulen
5342152144 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
6eb304e868 Bug 778413 - Minimum cell width calculation reftest. r=dbaron 2012-08-25 12:30:47 +02:00
Kyle Huey
0cae034974 Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Cameron McCormack
09617bdd09 Bug 782610 - Fix format of @supports tests. r=dbaron 2012-08-23 11:25:05 +10:00
Matt Brubeck
540d51b015 Bug 783565 - Don't look for mobile doctype or handheldFriendly if there is also a meta viewport tag [r=jwir3] 2012-08-22 13:17:09 -07:00
L. David Baron
0d11233f7c Fix reftest bustage from changeset aa86bacc7e57. (Bug 691950) 2012-08-20 23:01:57 -07:00
L. David Baron
7d0601d5e6 Move the imported css3-namespace test suite in with other test suites imported from the CSSWG repository, and make the importing script import it. (Bug 691950)
--HG--
rename : layout/reftests/css-namespace/prefix-001.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-001.xml
rename : layout/reftests/css-namespace/prefix-002.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-002.xml
rename : layout/reftests/css-namespace/prefix-003.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-003.xml
rename : layout/reftests/css-namespace/prefix-004.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-004.xml
rename : layout/reftests/css-namespace/prefix-005.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-005.xml
rename : layout/reftests/css-namespace/prefix-006.xml => layout/reftests/w3c-css/received/css3-namespace/prefix-006.xml
rename : layout/reftests/css-namespace/ref-lime-1-block.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-block.xml
rename : layout/reftests/css-namespace/ref-lime-1-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1-generic.xml
rename : layout/reftests/css-namespace/ref-lime-1.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-1.xml
rename : layout/reftests/css-namespace/ref-lime-2-generic.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2-generic.xml
rename : layout/reftests/css-namespace/ref-lime-2.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-2.xml
rename : layout/reftests/css-namespace/ref-lime-3.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-3.xml
rename : layout/reftests/css-namespace/ref-lime-5.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-5.xml
rename : layout/reftests/css-namespace/ref-lime-6.xml => layout/reftests/w3c-css/received/css3-namespace/ref-lime-6.xml
rename : layout/reftests/css-namespace/scope-001.xml => layout/reftests/w3c-css/received/css3-namespace/scope-001.xml
rename : layout/reftests/css-namespace/scope-002.xml => layout/reftests/w3c-css/received/css3-namespace/scope-002.xml
rename : layout/reftests/css-namespace/support/fail.css => layout/reftests/w3c-css/received/css3-namespace/support/fail.css
rename : layout/reftests/css-namespace/support/scope-002a.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002a.css
rename : layout/reftests/css-namespace/support/scope-002b.css => layout/reftests/w3c-css/received/css3-namespace/support/scope-002b.css
rename : layout/reftests/css-namespace/support/syntax-007.css => layout/reftests/w3c-css/received/css3-namespace/support/syntax-007.css
rename : layout/reftests/css-namespace/syntax-001.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-001.xml
rename : layout/reftests/css-namespace/syntax-002.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-002.xml
rename : layout/reftests/css-namespace/syntax-003.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml
rename : layout/reftests/css-namespace/syntax-004.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-004.xml
rename : layout/reftests/css-namespace/syntax-005.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-005.xml
rename : layout/reftests/css-namespace/syntax-006.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-006.xml
rename : layout/reftests/css-namespace/syntax-007.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-007.xml
rename : layout/reftests/css-namespace/syntax-008.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-008.xml
rename : layout/reftests/css-namespace/syntax-009.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-009.xml
rename : layout/reftests/css-namespace/syntax-010.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-010.xml
rename : layout/reftests/css-namespace/syntax-011.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-011.xml
rename : layout/reftests/css-namespace/syntax-012.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-012.xml
rename : layout/reftests/css-namespace/syntax-013.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml
rename : layout/reftests/css-namespace/syntax-014.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-014.xml
rename : layout/reftests/css-namespace/syntax-015.xml => layout/reftests/w3c-css/received/css3-namespace/syntax-015.xml
2012-08-20 22:41:49 -07:00
L. David Baron
bfa2ca47cd Do first (small) round of importing W3C reftests into tree. (This provides a test for bug 782401.) 2012-08-20 19:23:32 -07:00
L. David Baron
b7240dcf1a Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
Mats Palmgren
c5e782f562 Bug 308801 - box-sizing:border-box with min-/max-width/height reftests. 2012-08-20 03:15:14 +02:00
Charly Molter
4bba69d18c Bug 776265 - changing the way ComputeHeightValue works to make it work just
like ComputeWidthValue already does. this fixes {min,max}-height + adding
  reftests for {min,max}-{height,width} r=mats
2012-08-08 17:58:26 +02:00
Ed Morley
4257c2d32f Bug 685516 - Mark more tests as random; rs=khuey 2012-08-18 14:49:50 +01:00
Mohit Sinha
03317aa1e8 Bug 781189 - Remove rowline attributes from mtable-align-whitespace.html and mtable-align-whitespace-ref.html to fix intermittent failures. r=fwang 2012-08-18 08:32:07 -04:00
Ed Morley
c63eaa95d3 Merge mozilla-central to mozilla-inbound 2012-08-16 17:55:58 +01:00
Ed Morley
8e1030fe5c Bug 782196 - Temporarily disable layout/reftests/bugs/598726-1.html on Windows 7 for being near-permaorange; r=philor 2012-08-16 17:51:22 +01:00
Robert O'Callahan
a71f60da86 Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
2012-08-10 23:10:12 +12:00
Kyle Huey
1b73189aff Bug 685516: Mark a couple more tests random. 2012-08-15 13:15:03 -07:00
Kyle Huey
fcd9a8d9a7 Bug 685516: Disable background-image-tiling.html on Android XUL. 2012-08-15 10:55:59 -07:00
Ed Morley
9ca18660e6 Bug 685516 - Disable background-size-body-percent-percent-overflow.html; rs=khuey 2012-08-15 17:22:14 +01:00
Kyle Huey
c1fb233053 Bug 685516: Disable one more test. 2012-08-15 06:17:24 -07:00
Kyle Huey
cd9dcb6d64 Bug 685516: Disable some more tests. 2012-08-14 21:05:24 -07:00
Kyle Huey
9bf3c06eeb Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Kyle Huey
ca05f5cb91 Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
f454c29dd5 Bug 685516: Disable a bunch of failing tests on Android XUL. r=jrmuizel 2012-08-13 11:22:11 -07:00
Simon Montagu
5098d4d89f Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc 2012-08-13 20:51:36 -07:00
Andrew Halberstadt
b4d43b25cb Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
L. David Baron
6c95d07c14 Update syncing directory location in README. (No bug, DONTBUILD) 2012-08-13 10:48:16 -07:00
Matt Woodrow
247c27d47f Bug 781362 - Delay the start time of some SVG animation reftests to prevent intermittent failures. r=dholbert 2012-08-13 22:11:32 +12:00
Matt Woodrow
35b2570b48 Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc 2012-08-13 22:11:16 +12:00
Matt Woodrow
43b9bbb4cc Bug 539356 - Part 32 - Change some SVG deferred animation tests to not require calling GetBaseValue. r=dholbert 2012-08-13 22:11:02 +12:00
Ed Morley
a0bb24f111 Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
2f48a66a41 Backing out f89374c446c2 for build bustage (bug 691591) 2012-08-10 23:55:51 +12:00
Robert O'Callahan
c12d4c82bd Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
5f20fdc3bc Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.

--HG--
extra : rebase_source : f967398e3b327dff8fcfbd2fc95f2e4eae8ae9d7
2012-08-10 23:10:12 +12:00
Robert O'Callahan
cde908d3c4 Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Simon Montagu
e40c34e6df Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Robert Longson
8be243633b Bug 780880 - patternTransforms that involve rotation do not work properly. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01a.svg => layout/reftests/svg/pattern-scale-01c.svg
2012-08-09 09:17:05 +01:00
Matt Brubeck
9636508719 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Simon Montagu
4a67200814 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00