Commit Graph

3962 Commits

Author SHA1 Message Date
L. David Baron
805646bab5 Reject 0 as a value for -moz-column-count. (Bug 471341) r+sr=bzbarsky 2008-12-29 10:07:38 -05:00
L. David Baron
d0d2117def Add crashtests for bug 468645. 2008-12-29 10:07:37 -05:00
L. David Baron
7748baab3d Fix nsLayoutUtils::IsReallyFixedPos to work right in paginated mode. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
83b583a320 Don't post media features values changed events when nothing changed. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
a4dd12922f Pass the correct parent content when re-resolving the inner table for a display:table pseudo-element (:before or :after). (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
8ae14c6f7f Prevent rebuilding all style data when paginated. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
272bf85847 SetVisibleArea doesn't need to lead to media query change handling when paginated (e.g., when doing a SizeToContent around a print preview window). (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:37 -05:00
L. David Baron
eed7111013 Fix handling of 'orienation' feature in print-preview. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
2424598a74 Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
a3d0f42dba Fix style context invariants so we can re-resolve page break frames. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
d52dad5b98 Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
020fe687d6 Expect percentages to be unsupported for -moz-column-width. I'm not sure why I made it as it is, since they were never supported in either our implementation or the spec. 2008-12-29 10:07:36 -05:00
Robert O'Callahan
5625c48582 Bug 458296 --- fix reference test name 2008-12-29 22:31:48 +13:00
Robert O'Callahan
374cd3a20b Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron 2008-12-29 21:20:27 +13:00
Robert O'Callahan
0731a2c4f4 Bug 458296. When a block doesn't carry out the bottom-margin of its children, add that bottom-margin to its overflow area. Also, add the bottom-padding of a scrolled block to its overflow area. r+sr=dbaron 2008-12-29 21:18:40 +13:00
Robert O'Callahan
b817cb2bbf Bug 469203. Don't try to make toplevel HTML documents transparent, it just doesn't work and the window can disappear in a mysterious way. r+sr=dbaron 2008-12-29 21:17:08 +13:00
Daniel.S
22c17349ea Adding crashtest 2008-12-28 12:14:28 -08:00
Boris Zbarsky
650f225952 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2008-12-28 12:07:58 -08:00
Simon Montagu
89eb38e82f Fix compiler warnings in nsCaret.cpp. Bug 470574, r+sr=dbaron 2008-12-28 04:08:22 -08:00
L. David Baron
33efe12a98 Fix placement of video controls when top and right padding are different. (Bug 470596) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
5a497c7cb3 Fix an off-by-border-and-padding error in nsVideoFrame::BuildDisplayList. (Bug 470596) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
8458c5b6b6 Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc 2008-12-27 20:58:14 -05:00
L. David Baron
d67ed87895 Better handling of overflowing integer values. (Bug 440230) r+sr=roc 2008-12-27 20:58:14 -05:00
Jesse Ruderman
f4f6dd881a Tests for bug 435529 and bug 436823. 2008-12-26 00:15:48 +01:00
John Daggett
fe5d832748 add valid EOT font and note describing reftest font directory contents 2008-12-24 12:57:25 +09:00
L. David Baron
6958d78491 Readd test for computed style for large integers (even though patch was backed out). (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
65c181f0ab Merge backout of changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html 2008-12-23 11:12:04 -05:00
L. David Baron
e8b56749f3 Backed out changeset 441f119f1a0c (Bug 470769) due to failures in layout/style/test/test_bug365932.html 2008-12-23 11:11:51 -05:00
Robert Kaiser
5f8c1f03e4 bug 469331 - [SeaMonkey] test_bug458898.html fails, make the width test function always ok on Windows, r=dbaron 2008-12-23 16:03:25 +01:00
L. David Baron
1362acfc3f Fix computed style for large integers by using double instead of float. (Bug 470769) r+sr=bzbarsky 2008-12-23 09:06:59 -05:00
L. David Baron
e32d92f667 Enforce the restriction that values of stroke-miterlimit are greater than 1, rather than just using ParsePositiveVariant. (Bug 470706) r=jwatt sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
22b6db3f79 Reject duplicate keywords for 'text-decoration'. (Bug 470704) r+sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
4dabb0d03e Disallow negative values on -moz-box-ordinal-group, since it's stored in an unsigned integer and clearly intended to be only positive. (Bug 470703) r=enndeakin sr=bzbarsky 2008-12-23 09:06:58 -05:00
L. David Baron
81919802f0 Rewrite the shorthand condensation code in nsCSSDeclaration::ToString. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
8d30a03f05 Don't say that the font or background shorthands are present when the properties that they reset but can't otherwise specify are not their initial values. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
5eb3c08c33 Condense box property four side shorthands in value getters, just as in serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
fd19b3e628 Suppress serialization of -moz-use-text-color in border shorthand in property getters just like we do in declaration serialization. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
72e8b9505a Check consistency before returning 'border' shorthand. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:57 -05:00
L. David Baron
83e1e59019 Remove comment that should have been removed in bug 160403. (Bug 376075) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
L. David Baron
c88d4b23d5 Fix bugs in handling of inherit, initial, and none for -moz-border-*-colors. (Bug 389404) r+sr=bzbarsky 2008-12-23 09:06:56 -05:00
L. David Baron
6ec0884f32 Remove bogus assertion. (Bug 470063) r+sr=roc 2008-12-23 09:06:56 -05:00
L. David Baron
16aba7fd6b Set up image loaders before reflow for border-image in XUL just like for HTML. (Bug 468473) r+sr=roc 2008-12-23 09:06:56 -05:00
Boris Zbarsky
e70ba8495c Adding asserts for bug 470167 2008-12-22 15:00:08 -08:00
dolphinling
6c0238bf8b Adding test 2008-12-22 13:08:38 -08:00
Mark Banner
e3b3b94e98 Additional crashtest fix follow up from bug 399227 - catch errors thrown by functions that now fail, so that the test completes properly 2008-12-22 19:05:25 +00:00
Mark Banner
3209d46da1 Crashtest fix follow up from bug 399227 - Add missing removeAttribute to let the crashtests finish 2008-12-22 17:05:18 +00:00
Mark Banner
5e20bae7bc Bug 399227 Crash @ nsTreeSelection::GetSingle, null mTree. r=enndeakin,sr=Neil 2008-12-22 15:32:19 +00:00
John Daggett
1ccc191a0f Add copy of .ttf font with .eot extension for testing 2008-12-22 17:03:32 +09:00
John Daggett
524ee63deb Bug 458160 - Reftests for .otf fonts. r+sr=dbaron 2008-12-22 16:43:56 +09:00
Robert Kaiser
7cf9888fa2 bug 469331 - [SeaMonkey] test_bug458898.html fails, mark the test todo on SeaMonkey for now, r=dbaron 2008-12-21 13:42:15 +01:00
Justin Dolske
5c689a4061 Bug 455057 - some chrome images have embedded profiles. r=dbaron, ui-r=faaborg 2008-12-20 21:46:38 -08:00
Robert Longson
f36ad9a78a Bug 470124 - Crash [@ nsSVGUtils::GetRelativeRect]; r+sr=roc 2008-12-21 02:16:42 +01:00
Olli Pettay
d766a4a00e Bug 466057, r+sr=bz 2008-12-20 16:28:19 +02:00
Serge Gautherie
98e21ae301 Backed out changeset: 4fbb9483d7e6 2008-12-20 04:59:56 +01:00
Zack Weinberg
6e87ad1067 Bug 456219 - fix background clipping with rounded corners; r+sr=roc 2008-12-20 01:55:59 +01:00
Olli Pettay
28242cb1ae Bug 461994 - Crash [@ DocumentViewerImpl::Close] with reloading, r+sr=bz 2008-12-20 01:45:56 +02:00
Olli Pettay
7fb4bae15c Bug 470167 - 'ASSERTION: Should be in an update while creating frames' with stylesheet appended many times, r+sr=bz 2008-12-20 01:35:30 +02:00
Joe Drew
a29562512b Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Stuart Parmenter
91c3580bb5 bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me 2008-12-12 02:50:31 -08:00
Neil Deakin
685b30c311 Bug 279539, rework SetPopupPosition to be simpler, r+sr=roc 2008-12-10 07:19:16 -08:00
Neil Deakin
d842887270 Bug 404314, create widget when setting menugenerated attribute, prevents assertion and issues with menu selection, r+sr=roc 2008-12-19 08:43:24 -05:00
Ehsan Akhgari
0f987d9366 Bug 470376 - Compiler warnings from landing of bug 441782; r,sr=roc 2008-12-19 14:37:09 +03:30
Ehsan Akhgari
ca2a90bdee Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc 2008-12-18 23:42:53 +03:30
Mats Palmgren
af8c8dd1c3 Remove redundant declaration. b=431705 r+sr=roc 2008-12-18 10:03:38 +01:00
Robert O'Callahan
9f318c485c Backed out changeset dcd1ad7a918e 2008-12-18 16:05:16 +13:00
Robert O'Callahan
274f89ff0d Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2008-12-18 14:13:23 +13:00
Robert Longson
37644973d1 Bug 441780. Fix radial gradient clamping to be more aggressive. r=jwatt,sr=roc
--HG--
extra : rebase_source : 477e5305530e86348a3526a8157f5f93340c644b
2008-12-17 20:28:33 +13:00
Robert O'Callahan
25641e6ca4 Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Robert O'Callahan
f7a310640f Bug 467150. Don't clear textruns just because we destroy an empty nsContinuingTextFrame. r=smontagu
--HG--
extra : rebase_source : e8d17c0cf1d35f450e62a8b6a35340855395ef72
2008-12-17 15:12:47 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Robert O'Callahan
ed66190092 Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
Olli Pettay
c7eb44efac Bug 469720 - tabindex of -1 set in javascript ignored on file input, r+sr=bz 2008-12-17 09:33:33 +02:00
Martin Stránský
bbe42c7104 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 16:17:50 +13:00
L. David Baron
3ca4fcee61 Merge backout of changeset 5bf3661db065 (Bug 454349) due to Windows reftest failures. 2008-12-16 18:19:00 -08:00
L. David Baron
db94b8d7d7 Backed out changeset 5bf3661db065 (Bug 454349) due to Windows reftest failures. 2008-12-16 18:15:38 -08:00
L. David Baron
10fdc6c423 Put 'thin' in the initial_values section instead of the other_values section for border shorthands, since the width should be 0px when border-style is none. 2008-12-16 17:11:38 -08:00
Karl Tomlinson
5286ba753b backout b=403513 due to compile error in gfxFontSelectionTest.cpp 2008-12-17 13:57:40 +13:00
Martin Stránský
12cfd5e1c9 b=403513 bad kerning in print output if hinting is set to medium or full r=karlt sr=vlad 2008-12-17 13:44:32 +13:00
L. David Baron
3e5f6435ab Move wrapping of blocks inside XUL into ProcessChildren to catch more callers. (Bug 421203) r+sr=roc a=blocking1.9.1+
--HG--
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/421203-3.xul
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/421203-4.xul
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/421203-5.xul
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/421203-6.xul
2008-12-16 16:30:31 -08:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
af4589e214 Paint different backgrounds behind the reftest test and references to detect areas that are not painted at all. (Bug 454349) r=dbaron 2008-12-16 16:30:30 -08:00
L. David Baron
65321d0177 Make zoomed-out reftests draw the whole area that they're supposed to draw. (Bug 421203) r+sr=roc 2008-12-16 16:30:30 -08:00
Mats Palmgren
242af8a01e Test for bug 462789. 2008-12-16 14:16:34 +01:00
Mats Palmgren
74190286c5 Add a null-check. b=462789 r+sr=dbaron 2008-12-16 14:16:33 +01:00
Mats Palmgren
6a52c50ce4 Add a few missing null-checks. Return error code from GetRuleLine() when it fails. b=462787 r+sr=dbaron 2008-12-16 12:26:42 +01:00
John Daggett
9b51570278 otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
Markus Stange
c15f2b9d7f Forgot to add the braces in changeset 58f409bbc149 (bug 391984) 2008-12-15 14:43:31 +01:00
Masayuki Nakano
229283883c Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Aiko
ae37af81d5 Combobox steals mouse event after menu is closed with Alt+Up. b=348236 r=mats sr=bzbarsky 2008-12-14 11:17:06 +01:00
Simon Montagu
70d49c14fa Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser) 2008-12-14 01:05:39 -08:00
Jesse Ruderman
41c9e25f93 Crashtest for bug 458453. 2008-12-14 00:48:51 +01:00
Olli Pettay
f8412fdedc Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz 2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483 Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc 2008-12-13 17:07:08 +01:00
Boris Zbarsky
4e90868638 Bug 468263. Handle the src attribute being removed or set to by dropping the image. r+sr=sicking 2008-12-12 14:41:11 -05:00
Graeme McCutcheon
4d0acd8eae Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc 2008-12-12 14:25:22 -05:00
L. David Baron
d5257cf612 Fix properties that incorrectly applied to :first-letter or :first-line. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
e3b670c240 Don't mark properties as applying to first-line / first-letter if there were comments if those properties were implicitly ignored by the old code either through never being used, or through another (*-style) property being ignored. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
a0c80a0fdb Replace mechanism for restricting the properties that apply to :first-line and :first-letter. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
L. David Baron
0734469567 Disable -moz-transform and -moz-transform-origin for :first-line and :first-letter pseudo-elements. (Bug 466845) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-12 10:59:03 -08:00