Commit Graph

6065 Commits

Author SHA1 Message Date
Boris Zbarsky
6b4f1d994c Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
414b184d55 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
6ae14f3465 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
fec842ecf2 Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Daniel Holbert
9ecf3cf108 Bug 529934 followup: Use "IsStringUnit()" instead of explicitly comparing unit, in nsStyleAnimation::FreeValue. r=dbaron 2009-12-10 16:38:17 -08:00
Boris Zbarsky
8f5e928be3 Bug 525952 part 4. Use the new pseudoclass enum in IsStateSelector and SelectorMatches. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
c86ac3e140 Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
9169c819a8 Bug 525952 part 2. Have different macros so nsCSSPseudoClassList.h consumers can tell apart state-related and not-state-related pseudo-classes. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
88da9222b1 Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
5b9e769f0b Bug 525608 part 8. Reorder the cases in AddRule in order of likelihood. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
7b8acbcaf3 Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
a784f30c6a Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
bdb94e5fc6 Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
e6128a1572 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
d458769f84 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
b4f32f993e Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7 Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
9dc3b4cdd3 Bug 523294 part 1. Change the signature of HasAttributeDependentStyle. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
f437bbbd4c Bug 523288 part 3. Do a bit less work still in the RuleProcessorData constructor. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
368b43c231 Bug 523288 part 2. Get link state and content state lazily. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
c993848554 Bug 523288 part 1. Move matching on id and class to right after matching on tag in SelectorMatches. r=dbaron 2009-12-10 14:36:02 -08:00
Boris Zbarsky
c117d41a73 Bug 523148. Speed up AddImportantRules. r=dbaron 2009-12-10 14:36:02 -08:00
Olli Pettay
ec076a94d3 Bug 528829 - If mouse button is held down during page transition, Firefox stops responding to mouse clicks, r=roc 2009-12-10 10:58:33 -08:00
Daniel Holbert
0d650e67d8 Bug 520239, patch 5: Enable SVG/SMIL animation of shorthand properties, and remove unneeded nsISMILCSSValueType interface. r=roc 2009-12-10 09:26:28 -08:00
Daniel Holbert
fad34e9220 Bug 520239, patch 2: Add support for shorthand properties in nsStyleAnimation's helper function 'BuildStyleRule'. r=dbaron 2009-12-10 09:26:28 -08:00
Daniel Holbert
a66fb56354 Bug 529934: Add "UnparsedString" unit to nsStyleAnimation, as catch-all for otherwise-unanimatable properties. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
446a2565b0 Bug 524539, patch 1: In nsStyleAnimation, represent "stroke-dasharray: none" with single-value nsCSSValueList. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
00537f3434 Bug 520239, patch 1: Split out a chunk of nsStyleAnimation::ComputeValue into its own function. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
ea15a6f6b5 Bug 529356: Add 'default' case in a switch statement in nsStyleAnimation, to fix build warning. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
7dc45bbe45 Bug 529950: remove unused variable 'frames' to fix build warning. r=bz 2009-12-10 09:26:27 -08:00
Doug Turner
f9bf322ca5 Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Jesse Ruderman
b4b916d596 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman
5eb28e1789 Crashtest for bug 509602 2009-12-06 16:54:34 -08:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Daniel Holbert
f0a97f3ee2 Bug 531075 followup: Shift new early-return down a bit, to let simpler early-returns catch open-and-visible popups. r=bz 2009-12-03 20:01:39 -08:00
Timothy Nikkel
d16beb2417 Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Zack Weinberg
e125669860 Bug 531847: Include address chosen for frame poisoning in breakpad reports. r=ted a192=roc 2009-12-01 14:48:23 -08:00
Daniel Holbert
635a2cd037 Bug 531075: Don't allow ourselves to reopen popups that are already in the open-popup chain. r=bz 2009-12-01 13:42:19 -08:00
Boris Zbarsky
e9fe32d01b Fix test ordering. 2009-12-01 12:26:46 -05:00
Robert O'Callahan
d866e87ce4 Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky 2009-12-01 12:21:00 -05:00
Boris Zbarsky
5e2979bd66 Bug 530686 second followup. Fix reftest. 2009-12-01 02:15:44 -05:00
Boris Zbarsky
5d3a7b122e Bug 530686 followup. Fix reftest manifest 2009-11-30 21:42:01 -05:00
Robert O'Callahan
1eb1c0bb6b Bug 530472. Make sure to check across document boundaries to see whether the clipFrame is an ancestor of the moving frame. r=dbaron 2009-11-30 18:14:04 -05:00
Robert O'Callahan
6780628363 Bug 530686. Don't redraw box-shadows over the bounding rect of the dirty region; just redraw them over a (somewhat simplified) dirty region. r=dbaron 2009-11-30 18:14:04 -05:00
Doug Turner
fced4ec129 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Zack Weinberg
cf67dd36c8 Bug 530598: If we can't get the preferred address for a poison page, take whatever the OS will give us, rather than giving up 2009-11-30 08:51:07 -08:00
Serge Gautherie
2a485f24e8 Bug 381467 - Switch application/x-javascript to application/javascript; (Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only).
r=dbaron.
2009-11-30 03:44:02 +01:00
Peter Van der Beken
41824cb4bf Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
5a63b1ad1c Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
1f7d9b23d4 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
Olli Pettay
2a7bca1c92 Bug 530880, r=bz, sr=roc
--HG--
extra : rebase_source : 4f1e95223fd0c167fa5ec882b46ae36f9edbb071
2009-11-26 11:12:20 +02:00
Doug Turner
81d6db5548 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Brad Lassey
926e622d2a bug 530367 - passwords from password manager flash in clear text r=neil 2009-11-25 12:41:23 -05:00
Boris Zbarsky
2d9ec777ba Bug 528134. Hand out the style context with the rulenode. r=dbaron 2009-11-25 00:35:55 -05:00
Mats Palmgren
125c079acd Bug 526769. r=roc a1.9.2=dbaron 2009-11-24 20:29:48 +01:00
Doug Turner
387eed8493 Bug 530652 - Some sites not render flash. r=karlt
--HG--
extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
2009-11-24 05:57:58 -08:00
Doug Turner
dbc44dda9c Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
730075f7eb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
7f9938ce48 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Doug Turner
2fe6a6f5c2 Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst.
--HG--
extra : rebase_source : 44bf32345959402b591ba4763dcea26187cf7796
2009-11-20 14:59:27 -08:00
Robert O'Callahan
8846e3c798 Bug 529371 - Fix nsPopupSetFrame sibling pointers (crash [@nsWeakFrame::Init][@nsWeakFrame::InitExternal]). r=bzbarsky 2009-11-20 14:51:11 -05:00
Doug Turner
d7c57015bb Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking
--HG--
extra : rebase_source : e0dbed7d82a77a61581c9aa59fdd928720c2e5bb
2009-11-20 09:51:06 -08:00
Doug Turner
793f6fc7db Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Ginn Chen
546bba6b66 Bug 529764 nsPresArena.cpp failed to compile on Solaris r=zweinberg 2009-11-20 14:11:42 +08:00
Robert O'Callahan
a3f1f75383 Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
L. David Baron
d0f535b30d Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted 2009-11-19 09:35:09 -08:00
Robert O'Callahan
a3558ce3da Backed out changeset 93a0acf68dd6 2009-11-19 15:15:44 +13:00
Robert O'Callahan
5fa533b23e Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky 2009-11-19 12:40:31 +13:00
Mats Palmgren
e8faa921de Bug 522787. Always register an editor observer. r=smaug 2009-11-19 12:38:11 +13:00
Robert Longson
3813a31710 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Boris Zbarsky
e38ec39351 Bug 505059 build bustage fix. 2009-11-18 08:58:44 -05:00
Boris Zbarsky
2eec426e1f Fix bug 528038 merge weirdness 2009-11-18 08:31:33 -05:00
Boris Zbarsky
71f48241bd Bug 505059. Don't shut down the layout module while someone is holding a reference to the stylesheet service. r=dbaron 2009-11-18 08:25:02 -05:00
Boris Zbarsky
679d2edfd4 Bug 526375. Enforce always appending to the last continuation for {ib} splits. r=roc 2009-11-18 08:25:02 -05:00
Boris Zbarsky
6fe6998aa1 Bug 528038. Make sure to propagate inherited changes properly for cases where the change hint doesn't apply to all descendants. r=dbaron 2009-11-18 08:25:02 -05:00
Daniel Brooks
7bf0e0c4ea merge fix for bug 528796 and for a test that it affects 2009-11-18 02:01:22 -06:00
Daniel Holbert
946aefca35 Bug 529365, patch 1: Add braces to fix build warning in PolyArea::IsInside. r=roc 2009-11-17 22:08:20 -08:00
Robert O'Callahan
54824bc7d1 Bug 528604. Don't add areas-to-repaint when scrolling for non-moving clip rects that aren't clipping any moving content. r=dbaron 2009-11-18 13:38:17 +13:00
Bernd
c7ee49f5cc Bug 527464. Go back to ignoring nowrape in quirks mode if a nonzero width is set in the width attribute. r=bzbarsky 2009-11-17 17:50:06 -05:00
Boris Zbarsky
2b37acc71b Bug 521542. Fix IsValidSibling to not lie when non-table-related siblings are involved. r=bernd 2009-11-17 17:50:04 -05:00
L. David Baron
e3330c4996 Null check mShell in nsPresContext::MediaFeatureValuesChanged. (Bug 528832) r=bzbarsky 2009-11-17 13:11:15 -08:00
L. David Baron
a74df9df58 Add a test for bug 517224. 2009-11-17 13:11:14 -08:00
Josh Aas
c5e5b72709 Move Carbon plugin idle event rate back up to 8 events per second to avoid Flash audio stuttering. b=525533 r=roc 2009-11-17 15:36:33 -05:00
Zack Weinberg
3c349b25a6 Bug 522088 and bug 507924: Ensure that the value used for frame poisoning is a pointer to an inaccessible page of virtual memory. 2009-11-17 11:17:20 -08:00
Daniel Brooks
c475f3a770 merge for bug 528796 2009-11-16 08:51:51 -06:00
David Bolter
ae4129ee61 Bug 525579 - topcrash [@ nsAccessibilityService::GetAccessible(nsIDOMNode*, nsIPresShell*, nsIWeakReference*, nsIFrame**, int*, nsIAccessible**)] (thanks dbaron) r=roc,surkov 2009-11-16 09:03:53 -05:00
Robert O'Callahan
144a4b1c79 Bug 519168. Address David's comments. 2009-11-16 14:01:01 +13:00
Robert O'Callahan
e67180ce2a Bug 527306. Remove problematic flush in selectFrames. r=bz 2009-11-16 11:52:31 +13:00
Robert O'Callahan
730202f5d6 Bug 519168. Fix some spurious reftest failures on Mac. r=dbaron 2009-11-16 11:51:47 +13:00
Daniel Brooks
71475216c7 bug 528796 - nsIBoxObject::GetScreenX/Y returns device pixels, not css pixels 2009-11-15 10:16:44 -06:00
L. David Baron
fc88c5a60f Use property flags for which properties need StartLoadImage called. (Bug 528634) r=bzbarsky 2009-11-14 19:16:59 -08:00
L. David Baron
6e161b5b9c In the ValueList case, don't start image loads for declarations that are overridden by others (just like we already do for the Value case). (Bug 517224) r=bzbarsky 2009-11-14 19:16:59 -08:00
L. David Baron
d7d8f0ef43 Fix computed values of 'font-weight' to report integers for bold (like for normal) and to report usable values for bolder/lighter. (Bug 173331, Bug 77882) r=bzbarsky 2009-11-14 19:16:59 -08:00
L. David Baron
d2de4eeb32 Put the 'normal' values for 'font-weight' and 'font-stretch' into the keyword tables. (Bug 522320) r=dholbert 2009-11-14 19:16:59 -08:00
L. David Baron
86466092b9 Add support for animation of font-weight and font-stretch. (Bug 528234) r=dholbert 2009-11-14 19:16:59 -08:00
L. David Baron
eea2f3996a Pass property to nsStyleAnimation interpolation functions. (Bug 528234) r=dholbert 2009-11-14 19:16:58 -08:00