Commit Graph

2153 Commits

Author SHA1 Message Date
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