Commit Graph

7343 Commits

Author SHA1 Message Date
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
aae27b1cee Bug 365410. Set our mNumDisplayRows even if we have a height set. r=mats 2010-05-05 14:18:04 -04:00
Boris Zbarsky
4625aac0dd Bug 560503. Don't check for mutation observer uniqueness; callers should handle that. r=sicking 2010-05-05 14:18:03 -04:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Peter Van der Beken
3fcb7546e7 Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
477156605b Annotate reftest manifests with assertion counts. (Bug 472557) 2010-05-04 21:28:19 -07:00
Justin Dolske
de107f9d91 Bug 563114 - Remove nsINonBlockingAlertService. r=karlt, r=bsmedberg, sr=roc 2010-05-04 17:41:07 -07:00
Mats Palmgren
5d589f9726 Disable the test for bug 563416 for now. 2010-05-04 20:27:40 +02:00
Mats Palmgren
fcb34d8042 Layout the child unless the rects are exactly equal; both being empty does not count as equal here. b=563416 r=roc 2010-05-04 19:21:43 +02:00
Daniel Holbert
003d36c7fc Bug 562310 Part 5: Use nsCharSeparatedTokenizer to simplify/fix existing parsing code in SVG and SMIL. r=roc 2010-05-04 07:43:48 -07:00
Ginn Chen
5ce824c71b Bug 426546 Fix for mochitest of bug 392746 on Linux r=martijn 2010-05-04 15:57:14 +08:00
timeless@mozdev.org
892951ebdb Bug 563232 - warning: comparison between signed and unsigned integer expressions in nsGfxScrollFrameInner::ScrollToImpl, r=zwol
--HG--
extra : rebase_source : 64bae9dcd9eafd8f8bbfa94c16f81ef515f7a92b
2010-05-02 05:56:00 -07:00
Josh Aas
2b2c2cb3e4 Fix bug in which we send a "blank" (memset to 0) Cocoa event to plugins. b=562997 r=roc 2010-05-03 19:59:27 -04:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
Henri Sivonen
8c8f31e01e Bug 562631 - layout/generic/test/test_bug496275.html makes mochitest-plain time out when the HTML5 parser is enabled. r=jst. 2010-04-29 14:22:27 +03:00
Frédéric Wang
a9a2ba1455 Bug 562464 - Remove perl script layout/mathml/mathml-css.pl. r=karlt 2010-05-02 12:48:23 +02:00
Timothy Nikkel
dc223a4719 Merge back out of changeset e6134e94c6cb (Bug 222436) for possible Tsvg_opacity regression. 2010-05-02 02:02:01 -05:00
Timothy Nikkel
68e1173934 Backed out changeset e6134e94c6cb (Bug 222436) for possible Tsvg_opacity regression. 2010-05-02 02:01:29 -05:00
Simon Montagu
619a92c11a Fix failing reftests for resizable textareas. Bug 562963 2010-05-02 09:23:41 +03:00
Timothy Nikkel
6e864c14b8 Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc 2010-04-10 13:03:40 -05:00
Timothy Nikkel
61cbe3e62f Bug 559970. Allow input type=text and password and textareas to have their frames constructed lazily. r=bzbarsky 2010-05-01 13:42:47 -05:00
Markus Stange
5654a6a17c Bug 550889 - Don't pass negative values to SetComputedWidth/Height in nsFrame::BoxReflow. r=bzbarsky 2010-05-01 12:40:22 +02:00
timeless@mozdev.org
949c8ea25d Bug 562479 - comparison between signed and unsigned integer expressions in nsCSSFrameConstructor::ContentRangeInserted, r=dbaron 2010-04-29 22:48:00 -07:00
timeless@mozdev.org
96aae71c09 Bug 562428 - comparison between signed and unsigned integer expressions in nsSVGGlyphFrame::GetCharNumAtPosition, r=roc 2010-04-28 12:46:00 -07:00
Zack Weinberg
7dfad97c7a Bug 562093: Add reflow tracing for InitConstraints, InitOffsets, InitFrameType. r=dbaron 2010-05-01 14:40:16 -07:00
timeless@mozdev.org
2ec73ddbd4 Bug 562432 - comparison between signed and unsigned integer expressions in nsDisplayXULEventRedirector::HitTest, r=neil 2010-04-28 12:53:00 -07:00
timeless@mozdev.org
c7316b0176 Bug 562420 - unused variable border in nsDisplayMathMLCharDebug::Paint, r=karlt 2010-04-28 12:36:00 -07:00
Timothy Nikkel
0fedc0b667 Bug 560441. Quiet some lazy frame construction asserts because framesets don't play the XBL game. r=bzbarsky 2010-05-01 13:42:47 -05:00
Timothy Nikkel
b8a1914987 Bug 560447. Quiet lazy frame construction assertions for area's because they misbehave. r=bzbarsky 2010-05-01 13:42:47 -05:00
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
b3de40cc58 Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
ca01cf3893 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
4d2b5f13cc Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
ccb1be60c3 Bug 562688 part 10. Eliminate eELEMENT usage in layout/base. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Chris Pearce
b79b3424e6 Bug 562000 - Remove obselete comment from ogg-video reftests. r=test-change 2010-04-30 16:18:55 +12:00
Chris Pearce
3d040659bf Bug 562000 - Re-enable test which should no longer be perma-orange. r=test-change 2010-04-30 15:04:22 +12:00
Chris Double
4da4eb6b25 Bug 561385 - Fix YCbCr to RGB C fallback code. r=roc 2010-04-30 15:04:22 +12:00
Jesse Ruderman
15d6dab970 Clarify use of bug numbers in test manifests. 2010-04-29 20:15:44 -05:00
Timothy Nikkel
19b8662309 Bug 559491. If a visited style context has no parent then add it to the list of roots. r=dbaron 2010-04-29 20:15:44 -05:00
Timothy Nikkel
163f081451 Bug 502937. Fix reftest.list typos. 2010-04-29 20:15:44 -05:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Zack Weinberg
413f17a4cf Bug 558981: Make reftests/text-decoration/underline-block-propagation-2-standards not dependent on system widget themes. r=dbaron 2010-04-29 08:43:41 -07:00
Neil Deakin
ada0fe3053 Bug 550878, cannot print child frames if window is not focused, r=neil, patch by arno renevier 2010-04-29 10:14:09 -04:00
Vivien Nicolas
04460c2244 Bug 403266 - usechromesheets attribute does not work if there is no userContent.css in the profile. r=dbaron 2010-04-29 10:37:27 +02:00
Daniel Holbert
dcc3c7473a Bug 561861: Remove unused variable 'ourColor' from nsCSSRendering::PaintOutline. r=dbaron 2010-04-28 23:13:11 -07:00
Karl Tomlinson
d11fc9cfc5 bug 455455 cgj-01.html fixed by bug 546013 2010-04-29 12:35:11 +12:00
Daniel Holbert
55f4fd5129 Bug 436418, patch D: SVG/SMIL animateMotion - reftests & mochitests.
--HG--
rename : layout/reftests/svg/smil/lime.svg => layout/reftests/svg/smil/motion/lime.svg
2010-04-28 16:00:54 -07:00
Daniel Holbert
49730afb12 Bug 436418, patch E: SVG/SMIL animateMotion - add support for <animateMotion> element and its core logic. r=roc 2010-04-28 16:00:54 -07:00
Frédéric Wang
756bb4a1ba Bug 407101 - MathML STIX fonts: more variants and composite chars for stretchy accents, r=karlt
--HG--
extra : rebase_source : 030868edf640f7c3e27a982392d1a2772934fe54
2010-04-29 09:32:27 +12:00
Blake Kaplan
453d23ad35 Fix bug 532730. r=jst sr=sicking
--HG--
extra : rebase_source : 0188a1388b4c82a55d29a54e08c91568b1ff817f
2010-04-27 15:39:52 -07:00
Bas Schouten
181e985775 Bug 560147: Follow-up fixing non-libxul builds. This will include layers into thebes.dll, and ensure thebes.dll exposes the correct symbols. r=ted 2010-04-28 22:43:52 +02:00
Mats Palmgren
5f2a134b91 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-28 19:47:23 +02:00
Mats Palmgren
9610e7e8f7 Backout wrong fix for bug 547338. 2010-04-28 19:47:23 +02:00
Justin Lebar
0897480e5e Bug 496275 - Expose JS API for modifying page's selection. r=mats, sr=jst 2010-04-28 19:47:23 +02:00
Henri Sivonen
21b290df61 Make test_acid3_test46.html wait for onload. (orange fix) 2010-04-28 16:21:07 +03:00
Mounir Lamouri
a3c0ae8c49 Bug 346485 - "Implement output element -- Test" [r=smaug] 2010-04-22 07:03:00 -04:00
Mounir Lamouri
152ea04b07 Bug 551670 - "type attribute for button elements should be 'submit' when type is invalid or missing" [r=smaug, sr=sicking] 2010-04-15 07:03:00 -04:00
L. David Baron
4099336be8 Mark reftest as failing on 10.6 since it's failed every time since a push this morning (Bug 562000) 2010-04-27 11:50:57 -07:00
Mats Palmgren
9fdc4d1c16 Invert CSS transforms for the mouse event coordinate sent to the plugin. Original fix by Victor <vik@dhtmlx.com>. b=539565 r=josh 2010-04-27 18:15:02 +02:00
Mats Palmgren
5197eefd38 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-27 18:15:02 +02:00
Jesse Ruderman
76787f0eaa Test for bug 547338. 2010-04-27 18:15:02 +02:00
Mats Palmgren
fea7ceabf6 Don't use enum bit-fields. r=timeless b=334571 2010-04-27 18:15:02 +02:00
Mats Palmgren
d0b4571d12 Assert that we only increment reasonable side/corner values. Note that incrementing the max value is allowed so that for-loops can be used without complicating the break-condition. r=timeless b=334571 2010-04-27 18:15:02 +02:00
timeless
83499da47b Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless
97c43a3297 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Olli Pettay
6453041969 Bug 559315 - [HTML5] nsContentSink::Init call is slow, r=hsivonen+sicking
--HG--
extra : rebase_source : 877af1f1e332bfb27460c9485d09ed0f7fe64619
2010-04-27 12:57:32 +03:00
Henri Sivonen
bec27dec6f Bug 497846 - Change the expectation of 311366-unknown-block-3.html fail if the HTML5 parser isn't enabled. r=mrbkap.
--HG--
extra : rebase_source : 6a4e6b9a9a54f1591c5ffad6d14b7413d4b838ea
2009-12-21 13:39:00 +02:00
Chris Pearce
2cb468725a Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce
3841ce0fd3 Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-27 20:53:44 +12:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Boris Zbarsky
f045d1595d Bug 559284. Make various HTML5 sectioning elements display:block. r=dbaron 2010-04-26 16:27:01 -04:00
Boris Zbarsky
6f37056bbf Bug 561516. Switch from an array of function pointers to a switch to make it easier to modify this code in the future. r=dbaron 2010-04-26 16:27:01 -04:00
Jeff Muizelaar
1ff50fe646 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
timeless@mozdev.org
3fda10b039 Bug 555702 - nsCSSExpandedDataBlock::DoExpand null checks aBlock instead of *aBlock, r=dbaron
--HG--
extra : rebase_source : a1d1ab6b36f02edbafa36e743ec846f69b84da66
2010-03-29 06:43:00 -07:00
timeless@mozdev.org
17ce09b4e7 Bug 560128 - mAddedScrollPositionListener isn't initialized in nsCanvasFrame, r=roc
--HG--
extra : rebase_source : aabbbc498940102ac639604702d41b23353e2038
2010-04-19 01:06:00 -07:00
Ehsan Akhgari
87f4d73ed2 Bug 559710 - Don't add a br node under text controls when the editor is not initialized for them yet; r=roc,davidb a=1hr 2010-04-15 21:25:40 -04:00
Josh Aas
483533a0ce Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Dave Townsend
7e6e800437 Bug 544277: Cannot build layout with MOZ_MEDIA disabled. r=enn, a=#developers 2010-04-25 12:52:23 -07:00
Simon Montagu
23048da183 Fix typo, a=bustage 2010-04-25 07:47:37 -07:00
Simon Montagu
0edc922b5e Mark reftest as failing, a=bustage 2010-04-25 17:24:44 +03:00
Simon Montagu
7777cf913c Reftest for visual and logical marquee, a=1hr 2010-04-25 15:16:21 +03:00
Simon Montagu
9056f54ae6 Force logical ordering in XUL elements on visual bidi pages. Bug 558403, r=roc 2010-04-25 15:15:17 +03:00
Phil Ringnalda
c7f430a432 Bug 558975 - Mark reftests/bidi/bidi-004.html, reftests/bidi/bidi-004-j.html and reftests/bidi/mirroring-02.html as random on Linux, since they pass on the new refplatform, r=smontagu, a=1 2010-04-12 20:42:24 -07:00
Daniel Holbert
161e595eff Bug 561385: make the the reftest.list failure annotation more specific for perma-orange-on-OSX-10.6 test "zoomed-1.xhtml". a=1hourlimit for metering 2010-04-24 13:50:33 -07:00
Olli Pettay
0797892373 Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
L. David Baron
3bf47e289d Make the test not fail when the transition has completed already but the event hasn't fired yet. (Bug 537573) a=philor for APPROVAL REQUIRED 2010-04-23 19:59:48 -07:00
L. David Baron
36e1c5464c Make some selectors in html.css faster using :-moz-any(). (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
L. David Baron
a681499b7e Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
L. David Baron
fa91f902a2 Make test_selectors continue when a parsing test fails. 2010-04-23 19:59:47 -07:00
L. David Baron
a079319f37 Clean up SkipUntil handling in parsing of pseudo-classes with arguments. (I haven't found any cases where this actually changes behavior, but it's needed for the next patch.) (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
Brandon Sterne
033faf2fac Bug 561449 - checking in forgotten style portion of CSP redirect patch, r=jst, a=dholbert_sheriff 2010-04-23 15:05:32 -07:00
Zack Weinberg
38da8da304 Bug 559715: Micro-optimize nsCSSPropertySet by adjusting types so that the compiler can do index calculations more efficiently., r=dbaron, a=dholbert_sheriff 2010-04-23 12:59:15 -07:00
Brandon Sterne
40ead69f99 Bug 515460 - enforce CSP during @font-face redirects, r=jdaggett, a=dholbert_sheriff 2010-04-23 12:53:41 -07:00
Brandon Sterne
cdca2eb7e4 Bug 523239 - CSP nsIChannelEventSink impl, r=jst, a=dholbert_sheriff 2010-04-23 10:03:03 -07:00
Daniel Holbert
d563e2c8a4 Bug 561385: Disable perma-orange test zoomed-1.xhtml, pending more investigation, to stop the orange. 2010-04-23 13:54:13 -04:00
Robert O'Callahan
24feb93481 Backing out e79947cb55bc to fix test failures a=me (CLOSED TREE) 2010-04-23 17:17:10 +12:00
Robert O'Callahan
fc697b3134 Backed out changeset e79947cb55bc 2010-04-23 17:14:55 +12:00
Mounir Lamouri
ff8816e56a Bug 346485. Tests for HTML5 <output> element. r=smaug 2010-04-23 14:43:36 +12:00
Robert O'Callahan
a982d52092 Bug 534566. Use separate nsPropertyTables for different categories so we don't pollute the property name list with unrelated names. r=sicking 2010-04-23 14:41:38 +12:00
Robert O'Callahan
fc7df512e2 Bug 548792. Fix rect coordinate adjustment. r=mats 2010-04-23 14:41:37 +12:00
Chris Double
39352b97f4 Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Robert O'Callahan
53eab1994a Bug 548792. Let the search for a scrollable parent cross document boundaries. r=mats 2010-03-29 14:46:59 +13:00
Robert O'Callahan
1163079236 Bug 556052. Compute mViewToWidgetOffset correctly and fix bugs by adding subpixel translation when painting. r=mats 2010-04-23 12:21:54 +12:00
Zack Weinberg
e7c84fe9dc Bug 474068 follow-up fixes for Fedora 2010-04-22 11:52:47 -07:00
Zack Weinberg
62747706b4 Bug 474068: mark mochitest failures caused by buggy Pango as expected. r=roc,ehsan a=jimm for CLOSED TREE 2010-04-21 15:53:48 -07:00
Markus Stange
c34c8948f8 Bug 355375 - Make context menuitems blink when chosen. r=enn
--HG--
extra : rebase_source : 87b93bda596b4af4c1adf294ecc91510047ca0f1
2010-04-19 16:12:58 +02:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
53ce892306 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Jonathan Kew
68f724ca3d bug 550163 - part 19 - add vertical bars to work around ClearType clipping issues in reftest 386339. r=roc 2010-04-21 10:07:48 +01:00
Henri Sivonen
5653937f4d Bug 559819 - Change the string id for the isindex prompt. r=l10n.
--HG--
extra : rebase_source : 34212e52674deb7e3c20ef3dab91785d3f70bdf4
2010-04-20 17:19:30 +03:00
Henri Sivonen
3d360f358f Bug 452915 - Remove default border from linked images per HTML5. r=dbaron.
--HG--
extra : rebase_source : 10b90a485cffe44c01493d4469eec2204724e2ce
2010-02-02 09:43:18 +02:00
Josh Aas
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Karl Tomlinson
694a01717f backout e1e1143be432 due to reftest failure in layout/reftests/bugs/393760-1.xml b=552044 2010-04-21 17:21:36 +12:00
Frédéric Wang
429c77a1ff b=557085 Remove directory mozilla/src/layout/mathml/doc r=karlt
--HG--
extra : rebase_source : 1a72bb9263b9d40514ad29e6567f491f35e215b1
2010-04-21 15:43:57 +12:00
Frédéric Wang
a833a67e8b Bug 213932 - add more entries in the MathML Operator Dictionary. r=karlt
--HG--
extra : rebase_source : 4aa186a3bd0b9217ea28f96afef6d4b097f83d8b
2010-04-21 15:41:48 +12:00
Frédéric Wang
595bff0aa9 Bug 552044 - [MathML 3] Add support for mathcolor/mathbackground on any presentation MathML element. r=karlt
--HG--
extra : rebase_source : 62c2006154e8a89e18d8125ddec4978f6ffdfba2
2010-04-21 15:41:06 +12:00
Frédéric Wang
9099aa5a17 Bug 534965 - [MathML3] Add support for the madruwb notation. r=karlt
--HG--
extra : rebase_source : c4d0c73e88e0ec8e3fe0d1a04132f25a78836506
2010-04-21 15:38:15 +12:00
Phil Ringnalda
2fd143b22d Bug 526708 - mark reftests/css-gradients/aja-linear-6a.html as failing only on 10.5, since it passes on 10.6, rs=zwol 2010-04-19 14:25:53 -07:00
Benoit Girard
9897b0a83e Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
David Baron
945430ee19 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Mike Hommey
07bd1e441e Bug 554036 - Mark bugs/424074-1-ref2.xul reftest as randomly failing with Gtk: its result depends on the Gtk theme used [r=smontagu]
--HG--
extra : rebase_source : 3de664123bf0d23fbf051e4346b5d4087fd84470
2010-04-19 10:25:26 +02:00
Mike Hommey
33f6f086fc Bug 554029 - Use Bitstream Vera as an alternative font in font-face/local-1 reftest [r=smontagu]
--HG--
extra : rebase_source : 87b7fe270cdd62d417b0f86db7426112fd1d2b99
2010-04-19 10:19:57 +02:00
Daniel Holbert
758abd8221 Bug 560271: Reorder nsTextControlFrame constructor init list to fix build warning. r=ehsan 2010-04-19 12:00:45 -07:00
Benoit Girard
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Olli Pettay
9367a1667f Bug 424000 - Crash [@ nsPrintEngine::ReflowPrintObject], r=roc 2010-04-19 01:17:41 +03:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Timothy Nikkel
5f7b8610fa Bug 538207 and bug 538210. Add crashtests. 2010-01-21 16:06:35 -06:00
Timothy Nikkel
73b67f61b8 Bug 502937. Part 5. Create some tests. 2010-04-16 13:15:28 -05:00
Timothy Nikkel
12327c99cb Bug 502937. Part 4. Implement ContentRangeInserted to create frames for a range of nodes that aren't at the end of a childlist. r=bzbarsky sr=roc 2010-01-21 16:06:16 -06:00
Timothy Nikkel
224192af2f Bug 502937. Part 3. Implement lazy frame construction. r=bzbarsky sr=roc 2010-01-18 03:26:40 -06:00
Timothy Nikkel
0868fcebcc Bug 502937. Part 1.2. Make sure that SVG references to external documents in reftests get loaded before onload. r=bzbarsky 2010-04-16 13:15:28 -05:00
Jeff Muizelaar
f8ad58b7c9 Bug 542605. Use EXTEND_PAD_EDGE when painting svg images. r=jwatt
This was part of the cairo update, but I'm doing it separately to
minimize the amount of unrelated change.
2010-04-16 11:13:07 -04:00
Jeff Muizelaar
85d21d6c89 Bug 542605. Add a test for a clipping problem shown by the cairo update. 2010-04-16 10:48:42 -04:00
Doug Turner
0e8798aedd Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
Jonathan Kew
7b7028d14b Add reftest for bug 557736. 2010-04-15 10:12:26 +01:00
Makoto Kato
c4fd95ea62 Backout of Bug 206802 - U+3005 is missing from the kinsoku list. regtest fail on Linux 2010-04-15 12:12:11 +09:00
Makoto Kato
3569ac83b4 Bug 206802 - U+3005 is missing from the kinsoku list. r=smontagu 2010-04-15 11:01:16 +09:00
Timothy Nikkel
1a07188538 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Mats Palmgren
f282ed34fe Use NSCoordSaturatingAdd to avoid integer overflow. b=541714 r=roc 2010-04-14 21:35:36 +02:00
Mats Palmgren
ee0dbc1396 Bug 507775. r=bzbarsky sr=roc 2010-04-14 18:55:33 +02:00
Olli Pettay
2fcb04d15b Bug 557398, Show (i)frames asynchronously, r=jst, sr=roc 2010-04-14 11:33:47 +03:00
Serge Gautherie
5113026175 Bug 492476 - [MacOSX] mochitest-chrome: the 3 layout/base/tests/test_printpreview*.xul need to report 'todo'; (Bv1) Add missed |var todo = window.opener.wrappedJSObject.todo;|.
(bustage fix) [CLOSED TREE]
2010-04-14 04:53:31 +02:00
Serge Gautherie
221bac9b5e Bug 492476 - [MacOSX] mochitest-chrome: the 3 layout/base/tests/test_printpreview*.xul need to report 'todo'; (Av1) Remove useless |var printerEnumerator|, Use a todo().
r=roc.
2010-04-14 02:24:47 +02:00
Timothy Nikkel
ac0c03fe97 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Ehsan Akhgari
3f2bc0f661 Bug 558954 - Don't show/hide placeholder if we're about to initialize the editor; r=roc 2010-04-12 20:32:29 -04:00
Robert Longson
eb179fd968 Bug 456286 - support altGlyph elements as tspans. r=roc 2010-04-13 09:58:09 +01:00
Serge Gautherie
ebb98f44a1 Bug 556686 - [Debug Windows SeaMonkey 2.1] mochitest-chrome: layout/base/tests/chrome/test_bug396024.xul, /test_bug482976.xul and test_printpreview.xul time out; (Av1) Bug 501100 follow-up: s/DIRS/PARALLEL_DIRS/, Clean up remnant comment, Rename them to test_printpreview*.xul.
r=roc.

Bug 501100 - Print preview mochitests should be chrome tests

--HG--
rename : layout/base/tests/chrome/bug396024_helper.xul => layout/base/tests/chrome/printpreview_bug396024_helper.xul
rename : layout/base/tests/chrome/bug482976_helper.xul => layout/base/tests/chrome/printpreview_bug482976_helper.xul
rename : layout/base/tests/chrome/test_bug396024.xul => layout/base/tests/chrome/test_printpreview_bug396024.xul
rename : layout/base/tests/chrome/test_bug482976.xul => layout/base/tests/chrome/test_printpreview_bug482976.xul
2010-04-13 06:04:48 +02:00
Ehsan Akhgari
12fba145fe Bug 557689 - Mochitest-3 (debug) crash after running test_bug366682.html or test_selection_move_commands.xul as a result of bug 542919 [@ nsCOMPtr<nsIMutationObserver>::assign_with_AddRef] (underlying issue will be fixed in bug 534785); r=jrmuizel 2010-04-12 02:13:17 -04:00
Mats Palmgren
c1e9737b92 Bug 509839. r=fantasai 2010-04-12 20:36:58 +02:00
Olli Pettay
337d16116e Bug 511075 - The arrows of the scrollbars don't work in hotmail (event.preventDefault() causes clicks on scrollbars to be ignored), r=enn, sr=neil 2010-04-12 16:59:16 +03:00
Simon Montagu
7a13ee1335 Mark test random on GTK 2010-04-12 02:27:17 -07:00
Simon Montagu
250b31288b Reftests for bug 556363 2010-04-12 01:16:12 -07:00
Timothy Nikkel
d0c1cab2a9 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Timothy Nikkel
dcbc9ce3cb Merge back out of changeset ae2093359899 (Bug 553359) for tsvg_opacity regression. 2010-04-11 19:27:03 -05:00
Timothy Nikkel
5337327603 Backed out changeset ae2093359899 (Bug 553359) for tsvg_opacity regression. 2010-04-11 19:26:41 -05:00
Jesse Ruderman
8255751882 Add crashtests 2010-04-11 16:59:47 -07:00
Timothy Nikkel
20d7ad6361 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Ehsan Akhgari
2be5f62bd9 Bug 542919 - Maintain the exact same behavior in editor initialization (don't try to set the editor value if the default value is empty) in an attempt to fix the crash of bug 557689 2010-04-11 16:00:36 -04:00
Ehsan Akhgari
6fe4d9dd45 Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc 2010-04-06 16:44:46 -04:00
Ehsan Akhgari
4aa6c64740 Bug 221820 - Part 6: Fix a failing test; r=bzbarsky 2010-04-06 16:44:12 -04:00
Ehsan Akhgari
25310966a3 Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky 2010-04-06 16:43:39 -04:00
Ehsan Akhgari
af32591ddc Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky 2010-02-22 16:15:56 -08:00
Ehsan Akhgari
a2d848318a Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky 2010-02-09 20:29:11 -05:00
Ehsan Akhgari
5423b1af2f Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky 2010-02-02 10:49:55 -05:00
Ehsan Akhgari
05b0ede6fb Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky 2010-02-01 23:00:12 -05:00
Ehsan Akhgari
867ee98123 Bug 558598 - XUL splitters should be collapsed on the correct side in RTL mode; r=roc 2010-04-11 19:46:08 -04:00
Ehsan Akhgari
d6856b82d8 Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc 2010-02-01 23:00:06 -05:00
Timothy Nikkel
bfe7cc152d Merge back out of changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:47 -05:00
Timothy Nikkel
2fad87c0bf Backed out changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:17 -05:00
Timothy Nikkel
b515e7c583 Merge back out of changeset 3a27158cbdd6 (bug 222436) to try to fix tsvg_opacity regression. 2010-04-11 00:11:52 -05:00
Timothy Nikkel
a79353a133 Backed out changeset 3a27158cbdd6 (bug 222436) to try to fix tsvg_opacity regression. 2010-04-11 00:11:26 -05:00
Timothy Nikkel
c24322509e Merge back out of changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:08:37 -05:00
Timothy Nikkel
17be279bff Backed out changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:07:52 -05:00
Timothy Nikkel
751acd36a6 Merge backout of 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:53:23 -05:00
Timothy Nikkel
2dddd62f0b Backout 761790684f3b (Bug 553366) for suspicion of causing tsvg_opacity regression. 2010-04-10 21:52:53 -05:00
Craig Topper
d5dc8fa89d Bug 253889: Even more nsIPresShell deCOMtamination. r=roc 2010-04-10 16:15:22 -04:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
felipc@gmail.com
a0860655c9 Bug 557987 - Toolbar buttons with drop-down menus are busted, r=roc@ocallahan.org 2010-04-10 22:29:12 +03:00
Timothy Nikkel
bb9cac9862 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Timothy Nikkel
54602f07cb Bug 222436. Simplify nsPresContext::BidiEnabled. r=roc 2010-04-10 13:03:40 -05:00
Timothy Nikkel
2f82809725 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Timothy Nikkel
4b586a06c3 Bug 553366. When flushing, make sure to flush external documents too. r=bzbarsky 2010-04-10 13:03:40 -05:00
Phil Ringnalda
530cc471fc Bug 556124 - change from "fails" to "random" since it unexpectedly passes on 10.5.8 Talos slaves, CLOSED TREE 2010-04-09 19:54:56 -07:00
L. David Baron
b70edfd24f Fix spelling of separate. 2010-04-08 21:03:47 -07:00
Clint Talbert
3c2f129f4e Bug 554934 - Fix perma-orange when running tests on Fedora Talos Slaves r=jfkthame 2010-04-08 09:38:37 -07:00
Simon Montagu
acb301bdd2 Make the scroll bar and resizer always be on the left of right-to-left widgets. Bug 556363, r=Enn 2010-04-08 09:11:14 -07:00
Ehsan Akhgari
995faa7109 Bug 555289 - Plugin crashed UI should be RTL in RTL locales (Further fixes + tests); r=dao,dbaron 2010-04-07 19:35:09 -04:00
Jeff Muizelaar
c10f8b597d Merge backout 2010-04-08 09:44:46 -04:00
Jeff Muizelaar
d751aaf9e3 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Masayuki Nakano
20fe8ca239 Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron 2010-04-08 21:44:57 +09:00
Chris Pearce
0666024a9e Bug 556889 - Commit merge. 2010-04-08 21:20:25 +12:00
Chris Pearce
bea72dd465 Bug 556889 - Backed out changeset 6f250c9b680b due to reftest failure on Linux. 2010-04-08 21:18:58 +12:00
Robert Longson
6d504862c2 Bug 553905 - data parser should parse up to a failure and not scrap the whole path. r=jwatt 2010-04-08 09:58:04 +01:00
Chris Pearce
56599ba7fa Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-08 20:16:02 +12:00
Jeff Muizelaar
aff371e5cb Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Felipe Gomes
960464193b Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Felipe Gomes
a437509342 Bug 489127 - nodesFromRect required for better usability on mobile devices (part 3) [r=roc] 2010-04-07 20:31:26 -04:00
L. David Baron
3b67d5db4a Make the reset test in test_transitions.html deal with the possibility of massive skew between setTimeout and the clock. (Bug 539904) 2010-04-07 12:06:15 -07:00
Ehsan Akhgari
597523deaa Merge backout of bug 553124 2010-04-07 13:29:28 -04:00
Ehsan Akhgari
3313f2610b Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370 Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
430750684a Add test for background image loading behavior for :visited links. (Bug 557287) 2010-04-06 12:42:41 -07:00
L. David Baron
7880213876 Don't start image loads for the if-visited style contexts. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
L. David Baron
1e8873bdf4 Make style contexts know if they are the if-visited style. (Bug 557287) r=bzbarsky 2010-04-06 12:42:41 -07:00
L. David Baron
d93e0789b9 Exit loop when needed. (Bug 497256) r=roc 2010-04-06 12:42:41 -07:00
Jonathan Kew
0ad94c3879 bug 554188 - handle trailing whitespace on bidi-overridden text runs consistently on OS X 10.6. r=roc 2010-04-07 10:18:57 +01:00
L. David Baron
df8e44cdd9 When setTimeout fires much later than it should, which happens on unit test boxes a good bit, make test_transitions_events.html report a todo rather than a fail. (Bug 537573) 2010-04-06 22:50:06 -07:00
Masayuki Nakano
ec0f459b5b Bug 183646 ::-moz-selection does not work in form controls (input[type=text], input[type=password], textarea) r=dbaron 2010-04-07 11:10:54 +09:00
L. David Baron
9dc08b1cf0 Use the appropriate color based on visitedness for '-moz-column-rule-color'. (Bug 557580) r=roc 2010-04-06 19:03:12 -07:00
L. David Baron
d923cbe90a Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert 2010-04-06 19:03:12 -07:00
Ehsan Akhgari
2989d30bcc Merge backout of bug 221820 2010-04-06 21:10:47 -04:00
Ehsan Akhgari
a7ebcd12b9 Back out the editor lazy inititialization patches (bug 221820) to try to solve the orange in bug 557689 2010-04-06 21:08:58 -04:00
Zack Weinberg
3fc693ef33 Bug 556661 bustage fix: test_priority_preservation.html updated to new semantics, augmented with further tests 2010-04-06 17:55:57 -07:00
Zack Weinberg
2ec3bc6f42 Bug 556661: make nsDOMCSSDeclaration::SetProperty capable of removing !important. r=dbaron 2010-04-06 15:52:02 -07:00
L. David Baron
1a2961ba01 Avoid showing black when the if-visited style is transparent and the unvisited style is a color. (Bug 557584) r=bzbarsky 2010-04-06 15:32:52 -07:00
Zack Weinberg
8a88b3f08f Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug. 2010-04-06 14:52:17 -07:00
Ehsan Akhgari
872be8bd0f Bug 221820 - Part 7: Wrap the calls to nsTextControlFrame::EnsureEditorInitialized in a weak frame check; r=roc
--HG--
extra : rebase_source : e8ea41dfa8e4b591e21176fb654f968671cc3ba1
2010-04-06 16:44:46 -04:00
Ehsan Akhgari
003e483e13 Bug 221820 - Part 6: Fix a failing test; r=bzbarsky
--HG--
extra : rebase_source : 7ffe1d5c7840be9e84ec66851f96b61c69aeeda4
2010-04-06 16:44:12 -04:00
Ehsan Akhgari
ee08070ca4 Bug 221820 - Part 5: Make lazy editor initialization compatible with placeholder values; r=bzbarsky
--HG--
extra : rebase_source : f7e1954482d34f5a229307ff7a6bc4fa527171ff
2010-04-06 16:43:39 -04:00
Ehsan Akhgari
862eb9644f Bug 221820 - Part 4: Fix the newline handling for text fields without an editor; r=bzbarsky
--HG--
extra : rebase_source : 92d9e491351a6183f0232604cd989c14d10d5fad
2010-02-22 16:15:56 -08:00
Ehsan Akhgari
6fb3c80de5 Bug 221820 - Part 3: Debug-only assertion for reentrancy detection; r=bzbarsky
--HG--
extra : rebase_source : 0b3e81c649178ebff2b08856f652a37be59d7547
2010-02-09 20:29:11 -05:00
Ehsan Akhgari
36c7ad5a5a Bug 221820 - Part 2: Make the editor initialization lazy (initialize only when needed); r=bzbarsky
--HG--
extra : rebase_source : bf84341934b14c78fadc162607721e9325673fc4
2010-02-02 10:49:55 -05:00
Ehsan Akhgari
0170b6dede Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 91df07eb7a6a52c35d8f4d52212663045450b95a
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
4605b1985f Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
--HG--
extra : rebase_source : 9c043d3cb30420f061d543e11e3000a1f8e18e27
2010-02-01 23:00:06 -05:00
Timothy Nikkel
76b1730341 Bug 479931, Bug 515811, and Bug 522374. Add crashtests. 2010-04-06 15:03:16 -05:00
Boris Zbarsky
541c887293 Bug 550882 followup. Remove the hack, since it's not useful anymore. 2010-04-06 16:01:34 -04:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Masayuki Nakano
dfa558e2f4 Bug 552493 Hang on select-all in large textbox (which repeats if I unfocus & focus Firefox) r=roc 2010-04-06 18:01:53 +09:00
Chris Double
37b2e3b033 Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double
e762926f9d Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Robert Sayre
5927f9eed6 Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00
Bill Gianopoulos
9fb6b84bbc Bug 555727: Stop MSVC from over-optimizing NS_DECLARE_FRAME_PROPERTY. r=dbaron 2010-04-03 16:21:53 -04:00
Ehren Metcalfe
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
13963cf87c Bug 554188 followup: use fails-if rather than random-if, with stricter condition. 2010-04-02 22:31:41 -07:00
L. David Baron
9b9ef4a6b9 Make pseudo-classes-02 run using test_visited_reftests.html instead of the normal reftest harness. (Bug 147777) r=jwatt 2010-04-02 18:58:27 -07:00
L. David Baron
1141b26829 Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
d93ae3417f Add reftests for :visited handling in layout/reftests/css-visited/ and make them run through the mochitest harness (via layout/style/test/test_visited_reftests.html) rather than the reftest harness. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
f094fceed0 Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
6d9693bbd2 Put visited handling in the tree match context. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
562295a495 Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
2f9c329ba6 Propagate whether we have a relevant link from rule processors to style set. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
d1f6c99d69 Pass through desired link-visitedness on the rule walker and construct if-visited style contexts in the style set when visited styles are present. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00