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 ' ' 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