Commit Graph

2324 Commits

Author SHA1 Message Date
Boris Zbarsky
e26cf68f5e Fix silly error in test a=test-only 2010-10-04 12:56:48 -04:00
Oleg Romashin
a02cd4afb2 Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Boris Zbarsky
db2651b719 Remove bogus JS that does nothing but throw from these reftests. a=test-only 2010-09-30 10:31:37 -04:00
Jesse Ruderman
d6c37e07c4 Bug 490174 - add reftest. a=NPOTB 2010-09-24 11:26:34 -07:00
Jesse Ruderman
4d1b8b62af Bug 558201 - Remove leftover random-if(). a=NPOTB 2010-09-24 11:25:11 -07:00
Daniel Holbert
08cfc21c10 Bug 598208: comment-only update in smil/style/reftest.list: Remove one obsolete comment, and update bug # in another. a=comment-only-fix 2010-09-21 15:26:58 -07:00
Mounir Lamouri
1ac9b98044 Bug 557087 (6/6) - Elements in the first legend should not be disabled if the fieldset is disabled but not it's fieldset parent. r+a=sicking
--HG--
extra : rebase_source : 226f0169d41f4f6b72549b522a818577ccc3e326
2010-09-19 03:47:15 +02:00
Mounir Lamouri
0cf6c14333 Bug 557087 (5/6) - Test elements rendering when inside a disabled fieldset. r=dbaron a=sicking
--HG--
extra : rebase_source : 6ac74cc7d72c68a7d16011b97f4bfa673098bf32
2010-09-18 23:54:30 +02:00
Mounir Lamouri
2900163868 Bug 557087 (3/6) - Make layout aware of the new disabled state rule. r=dbaron a=sicking
--HG--
extra : rebase_source : 9e7d0a515c3f1bcacdcccc906c611849654ab484
2010-09-19 03:43:15 +02:00
Mounir Lamouri
9532ebf9c3 Bug 557087 (2/6) - Make the content aware of the new disabled state rule. r+a=sicking
--HG--
extra : rebase_source : 66ef476d46872edcc8ea8cd6488cd14d24ce8446
2010-09-18 23:33:16 +02:00
Mounir Lamouri
440c2dad4d Bug 557087 (1/6) - Fieldset elements can be disabled. r+a=sicking
--HG--
extra : rebase_source : 9a11a362b24285af3a5d87ebb88e39be0cf1e098
2010-09-18 23:24:58 +02:00
KUROSAWA, Takeshi
32e3f2694c Bug 333698 - Fix x and y positioning of nested tspans - reftests; r=longsonr; a=roc 2010-09-18 12:46:48 +09:00
Daniel Holbert
4595d7a562 Bug 596478: Revert non-fixes to randomorange test, & mark it as random for the time being to stop the orange. a=tests 2010-09-17 12:09:08 -07:00
Joe Drew
878fb12e87 Bug 470868 - Mark some of the SMIL reftests as random on Mac with accelerated layers. rs=dholbert a=tests
--HG--
extra : transplant_source : F%C730%A1%7F%0Bwl%7EG%E71t%27%FEf%7D%A1%C6
2010-09-13 19:29:00 -07:00
Jonathan Kew
1698b078aa bug 597300 - disable failing reftest on windows for now. a=test-only 2010-09-17 09:38:27 +01:00
Oleg Romashin
c492c3d4da Bug 556487 svg reftest pass. r=roc a=blocking2.0 2010-09-16 21:09:35 -07:00
Daniel Holbert
78e7155272 Bug 596478: randomorange in img-dyn-1.html - try delaying snapshot to see if it fixes this randomorange. a=tests-only 2010-09-16 16:56:06 -07:00
Jonathan Kew
76877aae0c bug 593564 - reftest for synthetic bold glyph metrics. a=test-only 2010-09-16 17:41:40 +01:00
Daniel Holbert
426b459adc Bug 596478: Intermittent failure in reftests/svg/image/img-dyn-1.html - add 0-second setTimeout to hopefully work around randomorange. a=tests 2010-09-15 23:45:19 -07:00
Boris Zbarsky
668eb611a1 Bug 594737. Disabled selects with size and multiple should still look disabled. r=dbaron 2010-09-15 12:40:11 -07:00
L. David Baron
06bd2147cd Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
(Note:  this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
Chris Pearce
bee12efb21 Bug 594617 - Disable img-dyn-1.html on windows due to random failure. a=test-fix 2010-09-14 16:24:47 -07:00
Daniel Holbert
ba3de9468d Bug 594617: Make nsImageFrame::GetIntrinsicSize return its actual intrinsic size, and teach IsPercentageAware about SVG images. r=roc a=blocking 2010-09-14 16:20:32 -04:00
Ehsan Akhgari
fad8a096c1 Bug 240933 - Part 14: Disable a reftest which fails on D2D because of a problem uncovered by this bug (see bug 593160 for more information)
--HG--
extra : rebase_source : b2803f235a063126c3d6e5dc6e92a5f6b38961eb
2010-09-06 16:31:04 -04:00
Ehsan Akhgari
25c62bf4b2 Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
--HG--
extra : rebase_source : 1ed8187ad31ca40bd0b4d5a5a3c7494aacfee495
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
4085a00c0c Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : bcaf760ad9d2e939a5d99f21cd8727ef71faea92
2010-07-11 16:26:26 -04:00
Bas Schouten
3bc982c749 Bug 594624 - Reftest: Ensure content type switches are supported. r=roc 2010-09-12 21:38:14 +02:00
L. David Baron
5859a14a99 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
fa356d0a17 Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
L. David Baron
7476de1256 Change blur radii in themes and in some tests to match change in how we interpret text-shadow and -moz-box-shadow blur radii. (Bug 590039) r=dao a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Mounir Lamouri
634680ac7d Bug 582277 - Default style for :-moz-submit-invalid pseudo-class. r+a=dbaron 2010-09-10 20:40:49 +02:00
Daniel Holbert
2aa15ae3ce Bug 594941: Handle imgIContainer::GetHeight/GetWidth failure in DrawBorderImage. r=roc a=roc 2010-09-10 10:42:57 -07:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Mounir Lamouri
c509a433c2 Bug 580575 - Implement :-moz-submit-invalid pseudo-class applying on submit buttons when the form is invalid. r=bz sr=sicking a2.0=roc 2010-09-10 07:08:56 +02:00
Ehsan Akhgari
5cdc7ae6dd Bug 422179 - Part 3: Disable a reftest which fails because of bilinear filtering; r=jrmuizelaar a=NPOTB 2010-09-09 16:27:17 -04:00
Felipe Corrêa da Silva Sanches
b290b3c8a6 Bug 421473: Move tests from layout/reftests/svg/bugs to layout/svg/crashtests. r=dholbert a=tests-only
--HG--
rename : layout/reftests/svg/bugs/bug314244.xul => layout/svg/crashtests/314244-1.xul
rename : layout/reftests/svg/bugs/bug327709.svg => layout/svg/crashtests/327709-1.svg
rename : layout/reftests/svg/bugs/bug337408.xul => layout/svg/crashtests/337408-1.xul
rename : layout/reftests/svg/bugs/bug367368.xhtml => layout/svg/crashtests/367368-1.xhtml
2010-09-09 15:49:41 -04:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
df6e839771 Add reftests for clipping to the border-radius curve. (Bug 459144, Bug 485501) a2.0=blocking2.0:beta6 2010-09-09 08:21:47 -07:00
L. David Baron
8aaf22a0f4 Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:45 -07:00
Daniel Holbert
c55d1116a4 Mark some of bug 276431's tests as random-on-windows, since they fail on win7, pending investigation. a=orange 2010-09-08 19:49:31 -07:00
Daniel Holbert
ef5baeebc0 Bug 276431 Patch 15: Reftests for svg-as-an-image. r=roc a=blocking 2010-09-08 13:40:40 -07:00
Bas Schouten
7d0550d73e Bug 594289: Disable reftest failing because of YUV rounding error. r=tn a=bustage 2010-09-08 10:29:17 +02:00
L. David Baron
86166b79e6 Reduce the border-radius of elements with overflow != visible so that any present scrollbars are not clipped. (Bug 459144, patch 8) r=roc a2.0=blocking:beta6+ 2010-09-07 15:20:35 -07:00
Boris Zbarsky
4753f55125 Bug 593544. Apply first-letter to legends. r=dbaron a=dbaron 2010-09-07 15:10:42 -04:00
Simon Montagu
9e0c0d8d9c Tests for bug 588739 2010-09-06 17:32:01 +03:00
Robert O'Callahan
bb8f6b43fb Fixing test for D2D, a=fixing-test 2010-09-06 21:11:54 +12:00
Robert O'Callahan
e10bc1e1f7 Bug 584699. Invalidate ThebesLayers in abs-pos frame subtree that's moved. r=dbaron
--HG--
extra : rebase_source : 06dd1df6b08d331b38ee8a9edbf6ce07e7841c25
2010-09-06 15:04:36 +12:00
Vladimir Vukicevic
7f9d2b6e9e Bug 591155 - Disable an additional test that has shown up as failing with no visual difference. r=joe a=blocking2.0:beta6+ 2010-09-04 23:32:39 -04:00
Matt Woodrow
979cc597a3 Bug 591155 - Temporarily disable certain failing reftests which are visually indistinguishable when running with accelerated layers. r=vlad a=blocking2.0:beta6+ 2010-08-27 16:58:53 +12:00
Robert O'Callahan
3fca632d0f Disable abspos tests when D2D is enabled. With changeset c888cdffd617, glyphs get rasterized slightly differently. a=me 2010-09-04 00:27:19 +12:00
Robert O'Callahan
b8344596c8 Backed out changeset b92757b90f6f 2010-09-04 00:25:33 +12:00
Jonathan Kew
9abb1bbb24 disable failing win7 reftest, see bug 593330. r=developers a=orange-test 2010-09-03 13:10:45 +01:00
Robert O'Callahan
b2b43745af Bug 579276. Part 10: add a couple of scrolling tests to ensure that text looks good when scrolled in an overflow:auto div. a=blocking 2010-09-02 21:19:24 +12:00
Robert O'Callahan
ec75a459d4 Bug 579276. Part 9: Backout 4d1dc2ea47fd since we no longer need those test changes 2010-09-02 21:18:41 +12:00
Ehsan Akhgari
7b654288bf Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Ehsan Akhgari
522299167b Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
--HG--
extra : rebase_source : 134895e08a57c7aeb39f25266d8925cde4595159
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
b2d7d2f956 Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
--HG--
extra : rebase_source : 45cbd49946c1577786a5bd141384d92f9daf27c4
2010-07-11 16:26:26 -04:00
Robert O'Callahan
7db127ab8d Bug 584494 - Regression: Transform rotation testcase performs significantly worse - r=dbaron 2010-09-02 14:07:37 -04:00
Jonathan Kew
48abab1a0f bug 569531 - enable harfbuzz by default on windows. r=roc approval2.0=roc 2010-09-02 12:28:48 +01:00
Robert O'Callahan
e31e06e790 Backing out bug 579276. a=me 2010-09-02 23:14:25 +12:00
Robert O'Callahan
8c26bb9f5c Bug 579276. Part 10: add a couple of scrolling tests to ensure that text looks good when scrolled in an overflow:auto div. a=blocking 2010-09-02 21:19:24 +12:00
Robert O'Callahan
f646489e55 Bug 579276. Part 9: Backout 4d1dc2ea47fd since we no longer need those test changes 2010-09-02 21:18:41 +12:00
Wes
6636ae63a1 Bug 591626 - :-moz-placeholder is now implemented, uncomment corresponding theme code. r=dao
--HG--
extra : rebase_source : 1e21926933b6ebbd247452e0e5e2a2df866896e5
2010-08-31 21:28:41 +02:00
Phil Ringnalda
36c32fcb31 Bug 581592 - allow for a couple of asserts in size-change-1.html on Mac, r=dbaron, a=orange
--HG--
extra : rebase_source : 6d7ab1eeb272786e75fa57521d3a5c0f698fb88e
2010-08-29 21:51:56 -07:00
L. David Baron
26ed2a5639 Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron
ed01917887 Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
Zack Weinberg
38c9db7305 Bug 471643: Evaluate vertical percentages in border-radius relative to box height. r=dbaron a2.0=blocking:beta6+ 2010-08-31 12:05:11 -04:00
L. David Baron
d6be2e856f Add test for bug 590417. 2010-08-31 12:05:11 -04:00
Robert O'Callahan
ded033638a Bug 579323. Part 2: Actually fix the bug by calling InvalidateThebesLayersInSubtree from nsIFrame::Redraw. r=dbaron,a=blocking 2010-08-31 12:49:13 +12:00
Brian Birtles
b90f670c09 Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc 2010-08-28 15:41:05 +09:00
Timothy Nikkel
e374f8a563 Bug 588684. Mark layout/reftests/svg/objectBoundingBox-and-fePointLight-01.svg as failing on Linux. r=dbaron 2010-08-27 18:15:08 -05:00
Jonathan Kew
59c7cfeb6c bug 590101 followup - marking turkish test as random on windows (until we turn on harfbuzz), as behavior depends on uniscribe version. r+a=orange 2010-08-27 16:47:18 +01:00
Jonathan Kew
b4b46239ef bug 590101 - part 2 - make font-features reftests more robust by explicitly setting line height and using larger font size. r=jdaggett a=test-only 2010-08-27 14:16:07 +01:00
Jonathan Kew
cc08ffe262 bug 590101 - part 1 - make reftest text/wordwrap-03 more robust by explicitly specifying monospaced font with support for diacritics. r=jdaggett a=test-only 2010-08-27 14:16:07 +01:00
Mounir Lamouri
a41989b4f5 Bug 590418 - Re-enable fixed css-placeholder/input/placeholder-removal.html reftest. a2.0=test-only
--HG--
extra : rebase_source : a2d9fef0be30f253d703515ea96d71dd0bb1ac1b
2010-08-25 22:19:28 +02:00
Boris Zbarsky
341cd11eb6 Bug 589672. Parsing of malformed namespace rules can skip over too many tokens while recovering. r=dbaron, a=dbaron 2010-08-25 14:54:48 -04:00
Boris Zbarsky
19c43a518c Bug 586400. Cellpadding changes need to reresolve descendants. r=dbaron 2010-08-25 14:54:47 -04:00
L. David Baron
065207f2c7 Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
b99a005c4c Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837 Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Mounir Lamouri
34f5fba970 Fix 19ada12a980f bustage, see bug 590418. a=fix-bustage 2010-08-25 09:37:38 +02:00
Mounir Lamouri
100dc92dd8 Bug 566045 - Default style for invalid form elements with :invalid. r=dbaron ui-r=limi a2.0=sicking 2010-08-25 06:40:31 +02:00
Mounir Lamouri
41d31e0af5 Bug 457801 (1/2) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-25 06:39:10 +02:00
Mounir Lamouri
a998cdc78c Backing out unintentional push ba7b3f3d3451, b21458f2e3a2 and f69cabe709ca. a=backout 2010-08-25 02:40:47 +02:00
Mounir Lamouri
7423b25a12 Bug 457801 (3/3) - Fix :-moz-placeholder reftests. r?=? 2010-08-25 02:02:28 +02:00
Mounir Lamouri
5de293a274 Bug 457801 (1/3) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-24 21:02:09 +02:00
Robert O'Callahan
6fac80e56c Bug 581222. Draw outer box-shadows for native-themed elements using the alpha mask of the theme background as the border-shape, and disable inner box-shadows. r=dbaron
--HG--
extra : rebase_source : a9b81a5d3e09cca41a8b479a4b62b3e2df6c4354
2010-08-23 21:30:08 +12:00
Mounir Lamouri
eb4a11a0de Bug 558788 - Valid/Invalid form elements should change their state to use CSS3 pseudo-classes :valid and :invalid. f=ehsan r=sicking,dbaron sr=jst a2.0=blocking 2010-08-21 19:52:57 +02:00
Frédéric Wang
78cdc74871 reftests for bug 414277. r=karlt a=tests
--HG--
extra : rebase_source : ea7f03171aaf369f51dac804e2253db1444cc15e
2010-08-20 15:45:57 +12:00
Chris Pearce
8224c358fa Bug 485288 - Replace all usage of video autobuffer attribute with preload=auto. a=test-fix 2010-08-20 10:50:37 +12:00
Mounir Lamouri
c3e6d1d85d Bug 506554 - Implement the CSS3 pseudo-classes :required and :optional for HTML. r=sicking sr=bz a2.0=blocking 2010-08-19 02:03:20 +02:00
Mounir Lamouri
ef6632684a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
L. David Baron
e749c034f3 Fix sorting errors in layout/reftests/bugs/reftest.list. 2010-08-19 09:38:00 -04:00
L. David Baron
52881c4fb2 Split floats when they are overflow-incomplete. (Bug 585598) r=roc a2.0=blocking 2010-08-19 09:38:00 -04:00
Mark Banner
32648806db Backed out changeset f600448ae7db / bug 471643 due to reftest failures 2010-08-19 09:27:01 +01:00
Zack Weinberg
531e232c65 Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron 2010-08-19 09:45:32 +02:00
Brian Birtles
36e7527d9a Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+ 2010-08-18 19:20:24 +09:00
Brian Birtles
62844c6133 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
f5f57834b2 Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
c81d68f39a Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Jeff Muizelaar
e7ecb4fea4 Disable more intermittent reftests on D2D 2010-08-16 09:36:02 -04:00
Mounir Lamouri
034db79f04 Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+ 2010-08-15 11:19:34 -04:00
Robert Longson
79c3db79d2 Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron 2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886 Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Jeff Muizelaar
dadfc555de Bug 586835. Disable a couple more intermittent reftest fails with D2D.
Not sure what's going on with these yet...
2010-08-14 08:32:38 -04:00
Jeff Muizelaar
932d88e8c5 Bug 586835. Disable the d2d reftests that fail but are still sane. r=joe
This is in preparation for enabling d2d by default. A bunch of these will be
changed from random-if to fuzzy-if when bug 580786 lands. Some of them should
also be fixed or investigated more thoroughly before final.
2010-08-13 11:44:24 -04:00
Jeff Muizelaar
b58eb91fc9 Bug 583857. Expose whether D2D is enabled to reftests. r=roc 2010-08-13 11:44:21 -04:00
Markus Stange
275faa4f5e Bug 506826 - Tests. 2010-08-13 15:36:19 +02:00
L. David Baron
ee89e22866 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Jeff Muizelaar
e1b778434f Bug 585163. reftest: Adjust scales and text sizes to an exact representation. r=roc
This fixes the test with Direct2D. Inaccurate values for font_matrix come
from converting 6/60 into a float and then treating it as a double.
2010-08-08 15:54:27 -04:00
Jeff Muizelaar
556e5abfa9 Bug 584515. Fix border-breaking-000-cols.xhtml on D2D. r=roc
We are running into rasterization inaccuracies here.

This test draws green circles on a green rectangle and assumes that the result
will be solid green.

Here's what happens with D2D:

D2D computes coverage values in floating point so assume that we get a coverage
of about 0.112399 or 0.112399*255 == 28.6

green (128/255 == 0.50196) is multiplied by the coverage to get 0.0564702 or
.0564702*255 == 14.39

the results of the pixel shader get rounded before blending. So we get
(r=0,g=14,b=0,a=29)

blending this OVER green gives:

14+(255-29)*128/255 == 127 instead of 128.

This doesn't happen with other backends because they typically use integer
coverage amounts.

We fix it by using '&nbsp' instead of '.'
2010-08-08 15:54:24 -04:00
Robert Longson
f8e75e6fb6 Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc 2010-08-07 10:38:11 +01:00
L. David Baron
48dd50ff36 Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
50efda9d7b Add reftests for bug 563584. (Bug 563584, patch 31) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
74b8b51e37 Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27) 2010-08-05 21:59:20 -07:00
L. David Baron
02c1db8436 Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron
489ed8d30b When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron
08a16e6b29 Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron
353538a3ba Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc 2010-08-05 21:59:18 -07:00
L. David Baron
11f75cf522 Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc 2010-08-05 21:59:18 -07:00
Boris Zbarsky
0b5df24742 Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron 2010-08-05 17:59:36 -04:00
Daniel Holbert
f3625579d2 Bug 578786: Fix reftests for bug 491180 on Ubuntu 10.04. r=bz a=tests-only 2010-08-05 07:53:43 -07:00
Jonathan Kew
f9fab4a776 bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0 2010-08-05 10:18:39 +01:00
Jonathan Kew
a02799847b bug 578118 - reduce font size in reftest to avoid D2D antialiasing irregularities. r=bas a=tests-only 2010-08-05 10:18:37 +01:00
Boris Zbarsky
b9fae2b3d2 Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron 2010-08-04 22:40:19 -04:00
Kyle Huey
2a2801990e Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-08-02 15:19:04 -07:00
Zack Weinberg
40a9b87efe Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron 2010-08-04 12:27:05 -07:00
Jeff Muizelaar
ff12cb537d Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Jeff Muizelaar
ea56218085 Bug 518172. Fix the status of the 518172 reftests
I forgot to mark these reftests as passing after fixing
Bug 518172.
2010-08-02 11:04:36 -04:00
Robert O'Callahan
a637266b80 Fix reftest for bug 579349 2010-08-02 16:07:44 +12:00
Robert O'Callahan
91595e761f Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Robert O'Callahan
6f767dbf3d Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert O'Callahan
01e41cf67d Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00
L. David Baron
c06c57f6e6 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron
9cc2e9ec05 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Phil Ringnalda
836279228e Bug 569623 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as passing on Linux, since the CentOS boxes where they failed are gone (relanding to fix bug 578286) a2.0=tests 2010-07-30 16:48:57 -07:00
L. David Baron
e0b8d226cd Make zwnj-01 have a background color so that the SVG filter works correctly. (Bug 581081) r=jfkthame a2.0=tests 2010-07-30 16:48:57 -07:00
Kyle Huey
9c0bd4c0a5 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey
17533df9bd Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Joe Drew
71e9119ff3 Bug 572520: step 2.2, mark up the background draw nothing tests as getting another assertion. r=dbaron 2010-07-28 14:51:37 -07:00
Joe Drew
4eb41b2998 Bug 572520: step 2.1, mark up the table background reftests as asserting on gtk2 due to bug 527825. r=dbaron 2010-07-28 14:51:37 -07:00
Jonathan Kew
7e2508ad96 bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett 2010-07-28 14:36:00 +01:00
Jonathan Kew
b29f1fcb87 enable variation selector reftest on OS X (for bug 569350). r=jdaggett a=test-only 2010-07-28 10:30:23 +01:00
John Daggett
d34d0c5116 Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
Robert Longson
2316d387ff Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
c28d8f49a4 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Timothy Nikkel
c3a3665cf1 Bug 489868. Add reftest. 2010-07-25 13:10:31 -05:00
Karl Tomlinson
32893e4a5b revert most of acb4d17b70cd from bug 573933 to reenable -moz-appearance testing with bug 576143
--HG--
extra : rebase_source : 1ca78ffb1c791fac5cb89b94baf5a9d819da16ff
2010-07-23 10:48:15 +12:00
Ehsan Akhgari
ac64050109 Bug 569397 - Eagerly initialize the input controls with spellcheck="true"; r=roc ui-r=faaborg approval2.0=benjamin 2010-06-02 22:39:29 -04:00
Jonathan Kew
2f92ddc5b8 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Jonathan Kew
15ab663f0e bug 511339 followup - add reftests for font feature control. r=jdaggett a=tests-only 2010-07-22 10:25:20 +01:00
Mounir Lamouri
dbf929d752 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst
--HG--
rename : layout/reftests/editor/newline-1.html => layout/reftests/editor/newline-4.html
2010-07-21 02:11:19 +02:00
Boris Zbarsky
e484008628 Reenable this test now that bug 556124 is fixed. 2010-07-19 23:57:27 -04:00
John Daggett
fe417e2e32 Bug 563023. Fix Postscript local lookup to match ref. r=jkew 2010-07-19 17:05:10 +09:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Daniel Holbert
d3bbc8420f Bug 579588: mark recently-checked-in sporadically-failing test as random, pending investigation in this bug. 2010-07-18 04:18:59 -07:00
Robert Longson
f098d16c9b Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
dc3a420c38 Bug 577475 - polygon end marker should be at the same point as the start marker. r=jwatt 2010-07-18 10:59:11 +01:00
Jonathan Kew
4532b376c3 bug 579414 - use sans-serif font and modify text to avoid Win7 random orange due to clipped antialiasing pixels [test-only fix] 2010-07-17 13:38:36 +01:00
Daniel Holbert
224e9637ed Bug 579414: Revert attempted randomorange test-fix, since it didn't completely fix the sporadic failure. [tests only] 2010-07-16 22:07:06 -07:00
John Daggett
cb61376976 Bug 578022. Cleanup font deactivation code on Windows. r=jkew 2010-07-17 10:32:18 +09:00
Daniel Holbert
7326fc5be2 Bug 579414: Use sans-serif font to work around win7 randomorange due to clipped serif-antialiasing. Test-only fix, a=dholbert_sheriff for landing on a CLOSED TREE 2010-07-16 16:25:49 -07:00
Jonathan Watt
fe8a477f84 Bug 515116. DeCOMify SVG length-list, and implement SMIL animation of length-list. r=longsonr, r=dholbert, sr=roc 2010-07-16 22:42:12 +01:00
Robert O'Callahan
efa400c1bc Bug 564991. Part 31: Don't cull display items in nsDisplayList::ComputeVisibility. r=mats 2010-07-16 09:08:09 +12:00
Robert O'Callahan
d09c39d0a9 Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron 2010-07-16 09:08:05 +12:00
Robert O'Callahan
cc872e7c9e Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
a7c0fe60ac Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad 2010-07-16 09:07:46 +12:00
Robert O'Callahan
29ce16568f Bug 576453. Let the reftest window auto-size itself to fit the browser element. r=dbaron 2010-07-16 09:07:44 +12:00
Robert O'Callahan
8f56e0a70f Bug 573933. Part 2: disable -moz-appearance for troublesome GTK2 themes. r=dbaron 2010-07-16 09:07:43 +12:00
Robert O'Callahan
791e447fa0 Bug 573933. Part 1: Fix marquee tests to not depend on subpixel AA. r=dbaron 2010-07-16 09:07:35 +12:00
Robert O'Callahan
b7f93d47f0 Bug 573953. Ensure that zoom factors are chosen in reftests so appunits-per-dev-pixel is an integer. r=dbaron 2010-07-16 09:04:16 +12:00
Jeff Muizelaar
d3cfe23c48 Bug 578121. Enlarge the masks used in the 456219-2 test for D2D 2010-07-15 15:28:34 -04:00
Timothy Nikkel
7bfe0a17cb Bug 560455. Be more careful about the namespace when finding HTML frame construction data. r=bzbarsky 2010-07-15 14:20:32 -05:00
Simon Montagu
c6b1359872 Make bidi marquee reftests aligned left. Bug 561637 2010-07-15 09:28:22 -07:00
Jeff Muizelaar
64f4600280 Bug 578121. Enlarge the masks used in the 456219 test for D2D 2010-07-15 10:26:47 -04:00
Karl Tomlinson
6980b3ff48 b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-15 10:25:41 +12:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Robert Sayre
26425da346 Mark a few bidi tests random. see bug 578286. 2010-07-12 23:46:52 -07:00
Neil Deakin
2fb7701cbe Bug 553576, change -moz-resize to resize, r=dbaron 2010-07-05 10:41:04 -04:00
Ehsan Akhgari
f9e95a2600 Bug 574820 - URL and Placeholders (e.g. "Go to a Web Site") show at same time in Location Bar after closing Print Preview; r=roc 2010-07-13 22:00:57 -04:00
Ehsan Akhgari
7081b03117 Bug 289384 - Part 3: SelectAll in HTML editor shouldn't attempt to select input/textareas' contents directly; r=roc 2010-07-12 00:20:20 -04:00
Phil Ringnalda
e6235cb7bc Bug 569623 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as passing on Linux, since the CentOS boxes where they failed are gone 2010-06-21 20:27:49 -07:00
Robert Longson
58c2213318 Bug 574249 - Polyline should display up to the point of a parse error. r=jwatt 2010-07-04 20:00:00 +01:00
Brian Birtles
59966bc56c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 2 - backwards seeking. r=dholbert, sr=roc 2010-07-03 14:52:51 +09:00
Brian Birtles
916969013c Bug 492458 - SVG SMIL: Implement backwards seeking - Part 1 - interval and instance time filtering. r=dholbert, sr=roc 2010-07-03 14:52:50 +09:00
L. David Baron
7588d7dc90 Add reftests to check that the reftest-print page dimensions are as expected. 2010-07-02 21:18:55 -07:00
Karl Tomlinson
2f99c17a8c backing out dacb2bc379ad due to assertions in 419737-1 and 435223-1 reftests 2010-07-02 17:45:17 +12:00
Karl Tomlinson
1b71189884 b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-02 16:08:06 +12:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky
81a1582c9b Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron 2010-06-18 12:23:05 -04:00
Robert Longson
5a4ce6bb1f Bug 573687 - Clamp radial gradients with small radii correctly. r=jwatt 2010-06-30 21:24:53 +01:00
L. David Baron
00e8f7da8b Add bug number (bug 575500) for failing test I added earlier today (for bug 555987). 2010-06-28 21:27:09 -07:00
Boris Zbarsky
6b42f6dce3 Make the simple cases of dynamic changes of -moz-box-ordinal-group work correctly. (Bug 555987) r=dbaron 2010-06-28 13:47:58 -07:00
L. David Baron
ad5564fe6a Add some basic reftests for dynamic changes of -moz-box-ordinal-group. (Bug 555987) 2010-06-28 13:47:39 -07:00
Ehsan Akhgari
a90f192632 Bug 574898 - "ASSERTION: called nsGenericElement::SetText" with spellcheck; r=roc 2010-06-28 14:04:37 -04:00
Robert O'Callahan
31a929d36a Bug 568392. Part 3: Make reftest harness draw with scrollbars and use the window's layer tree, when possible. r=dbaron 2010-06-28 12:32:16 +12:00
Robert O'Callahan
d34e9db39e Bug 572317. Allow snapped rectangles to snap even if there's a 90 degree rotation. r=jrmuizel 2010-06-28 12:29:57 +12:00