Commit Graph

2260 Commits

Author SHA1 Message Date
L. David Baron
051d2eec64 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
3060358b0c Add reftests for bug 563584. (Bug 563584, patch 31) r=roc 2010-08-05 21:59:20 -07:00
L. David Baron
bef2939650 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
c804c1c09e 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
8b608af7e0 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
5dbb4fc493 Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc 2010-08-05 21:59:19 -07:00
L. David Baron
4af0ee515d 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
bf246f7401 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
9e848ad2db 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
565ce0101d 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
4214a38f34 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
ab9fd8664c 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
062993e0ce 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
65b4e6c0c6 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
9ccd63412b Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron 2010-08-04 12:27:05 -07:00
Jeff Muizelaar
73cbe59a21 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
91cc82e49c 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
cf14e5ee62 Fix reftest for bug 579349 2010-08-02 16:07:44 +12:00
Robert O'Callahan
bb197a6e72 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
5286b29597 Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert O'Callahan
1524120859 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
7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron
b0ac8dc333 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
09d6195bc9 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
8285e45e4b 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
02f6c3eb51 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey
330a1072b2 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
b6bb96fd67 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
7a3ca8ebdf 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
02b75da4e2 bug 575695 - reftest - verify that legacy 'kern' table is supported. r=jdaggett 2010-07-28 14:36:00 +01:00
Jonathan Kew
dab6f5d47c 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
5fcee06d7a 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
d8318c4a74 Backout Bug 578309 due to mochitest failures 2010-07-27 09:35:54 +01:00
Robert Longson
03cd1f62f1 Bug 578309 - mask and clipPath applied to foreignObject are translated. r=roc a=blocking 2010-07-27 08:33:01 +01:00
Timothy Nikkel
6666c1c1f6 Bug 489868. Add reftest. 2010-07-25 13:10:31 -05:00
Karl Tomlinson
f6b874b897 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
48b4d58926 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
c37829eb10 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
34e5652416 bug 511339 followup - add reftests for font feature control. r=jdaggett a=tests-only 2010-07-22 10:25:20 +01:00
Mounir Lamouri
d55a633ca1 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
1efbdf7b98 Reenable this test now that bug 556124 is fixed. 2010-07-19 23:57:27 -04:00
John Daggett
a18f037625 Bug 563023. Fix Postscript local lookup to match ref. r=jkew 2010-07-19 17:05:10 +09:00
Henri Sivonen
c21cd9cad1 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
44bf6cafc0 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
780577b92e Bug 487649 - Markers handle viewBox and preserveAspectRatio badly. r=jwatt 2010-07-18 11:06:03 +01:00
Robert Longson
17a0720c8d 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
956ca25f38 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
88b6257f5f 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
831a6b0e5e Bug 578022. Cleanup font deactivation code on Windows. r=jkew 2010-07-17 10:32:18 +09:00
Daniel Holbert
811f618ec9 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
9da6570c8a 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
09ce1c5031 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
1b38f406bd 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
6824d17ea0 Bug 564991. Part 9: Retain layer trees. r=tnikkel,sr=mats 2010-07-16 09:07:51 +12:00
Robert O'Callahan
496811aed4 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
b2d82bd07e 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
b03e286ef5 Bug 573933. Part 2: disable -moz-appearance for troublesome GTK2 themes. r=dbaron 2010-07-16 09:07:43 +12:00
Robert O'Callahan
84b159c021 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
0587a61cc8 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
74d0e7e192 Bug 578121. Enlarge the masks used in the 456219-2 test for D2D 2010-07-15 15:28:34 -04:00
Timothy Nikkel
573b988e78 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
684dbf90cb Make bidi marquee reftests aligned left. Bug 561637 2010-07-15 09:28:22 -07:00
Jeff Muizelaar
c79c46c9e7 Bug 578121. Enlarge the masks used in the 456219 test for D2D 2010-07-15 10:26:47 -04:00
Karl Tomlinson
5cad92a1be b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-15 10:25:41 +12:00
Robert Sayre
e3ad7b484c merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Robert Sayre
a84a9e510c Mark a few bidi tests random. see bug 578286. 2010-07-12 23:46:52 -07:00
Neil Deakin
fb50a52ce3 Bug 553576, change -moz-resize to resize, r=dbaron 2010-07-05 10:41:04 -04:00
Ehsan Akhgari
53aff51b8b 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
a68bc2f8bf 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
785cc18100 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
fd3fd38c95 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
0ad8e3f1f2 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
dada1e0fb4 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
952ee9aa56 Add reftests to check that the reftest-print page dimensions are as expected. 2010-07-02 21:18:55 -07:00
Karl Tomlinson
791c5c5557 backing out dacb2bc379ad due to assertions in 419737-1 and 435223-1 reftests 2010-07-02 17:45:17 +12:00
Karl Tomlinson
306540d13f b=444870 include overflow in the dirty rect passed to DrawWidgetBackground() r=roc 2010-07-02 16:08:06 +12:00
Jesse Ruderman
3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky
a7d7581a19 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
63e23566cf Bug 573687 - Clamp radial gradients with small radii correctly. r=jwatt 2010-06-30 21:24:53 +01:00
L. David Baron
f9751ba38e 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
c61cf3a82e 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
27b814a539 Add some basic reftests for dynamic changes of -moz-box-ordinal-group. (Bug 555987) 2010-06-28 13:47:39 -07:00
Ehsan Akhgari
6a92641501 Bug 574898 - "ASSERTION: called nsGenericElement::SetText" with spellcheck; r=roc 2010-06-28 14:04:37 -04:00
Robert O'Callahan
c3d3dba89e 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
d179d068ce 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
Ehsan Akhgari
2e0fc75e03 Bug 574109 - failures in layout/reftests/editor/xul/ on windows 7 64-bit; r=roc 2010-06-25 15:11:42 -04:00
John Daggett
9e8dbd5673 Bug 561304. Use GDI shaper by default on XP and handle bitmap fonts better. r=jkew 2010-06-25 21:43:10 +09:00
Jonathan Kew
90828b7068 bug 550163 - part 20 - prefer Calibri font (on Win7) in reftest to avoid fallback to visible CGJ glyph. r=roc 2010-06-24 13:11:50 +01:00
Ted Mielczarek
dcd89a3ff2 fix stupid reftest failure on Win64 2010-06-23 14:06:15 -04:00
Ms2ger
96299b3d2f Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ginn Chen
4e372ae7c4 Bug 572999 Make reftest recognize Solaris r=roc 2010-06-23 17:33:21 +08:00
Ms2ger
86795e0661 Bug 395137 - Typo in box-sizing-1-ref.html: "padding: 1px solid". r=dbaron 2010-06-22 02:01:45 +02:00
Ehsan Akhgari
cdb0ab63d7 Bug 572598 - Part 7: reftest; r=roc 2010-06-21 11:02:15 -04:00
Neil Deakin
98103bb448 Bug 554810, use transparent resizer images, also fixes bugs 553752, 553796, 558201, 558203 and 563085, r=roc 2010-06-21 08:37:35 -04:00
Shawn Wilsher
6234a3d3ac Style links with :link and :visited since on slow builds, history may already have notified that they are visited. (Bug 572576) r=dbaron 2010-06-19 20:46:23 -07:00
L. David Baron
7e0b339c34 Merge backout of changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors. 2010-06-19 14:17:00 -07:00
L. David Baron
4684f3f568 Backed out changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors. 2010-06-19 14:16:38 -07:00
Robert Longson
c743190bdb Backout bug 487404 2010-06-19 13:55:46 +01:00
Boris Zbarsky
c8d7e9da79 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
Boris Zbarsky
6b42fb408a Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron 2010-06-18 12:23:05 -04:00