Dão Gottwald
e36a29484b
Bug 639286 - Replace thick transparent border on tabs with proper CSS padding. r=fryn
2011-03-23 12:35:50 +01:00
Dão Gottwald
04c00a9a21
Bug 608628 - Remove obsolete aMask parameter from tabbrowser's addProgressListener method. r=gavin
2011-03-23 12:35:21 +01:00
Dão Gottwald
48df0c5d2a
Bug 463384 - "Tabbed mode" is an unnecessary complication. r=mano
2011-03-23 12:31:35 +01:00
Ehsan Akhgari
fa72d3b1b1
Back out changeset 905ba2a1095a (bug 597525) because it breaks accessibility tests
2011-03-22 17:42:45 -04:00
Alex Vincent
72db9c0242
Bug 635835 - Crash with nsTreeWalker::NextNode setting currentNode as JS object from chrome; r=sicking
2011-03-22 16:45:11 -04:00
timeless@mozdev.org
1584527545
Bug 615829 mCachedKeysCount/mExposeCacheUpdateStatus are initialized out of order in nsDOMOfflineResourceList::nsDOMOfflineResourceList
...
r=biesi
2011-03-22 16:42:56 -04:00
L. David Baron
6899411065
Check for the |var| element rather than the |variable| element in nsHTMLCopyEncoder::IncludeInContext. (Bug 642716) r=bzbarsky
2011-03-18 14:02:44 -07:00
L. David Baron
5970f11790
Fix Windows optimized bustage from bug 636039 patch 15: use placement new in a loop instead of using placement new[].
2011-03-18 14:02:44 -07:00
L. David Baron
92673c9bcd
Remove changes that should have been removed from bug 636039 patch 14 when I revised by 636039 patch 13.
2011-03-18 14:02:44 -07:00
Mounir Lamouri
9ac84e6141
Bug 641366 - Remove Tiger's entry in CellRenderSettings. r=mstange
2011-03-18 15:10:01 +01:00
L. David Baron
42406ee04a
Fix bustage from bug 636039, patch 13, by not trying to access stub entries in kOffsetTable for the CSS_PROP_STUB_NOT_CSS entries. (Bug 636039)
2011-03-17 21:58:26 -07:00
L. David Baron
6d1b75ce1d
Fix Windows bustage by using the alloca-inclusion incantation from jstracer.cpp. (Bug 636039)
2011-03-17 20:43:06 -07:00
L. David Baron
22932e73b8
Remove support for the variable attribute on the HTML pre element. (Bug 642227) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
4c2491cf79
Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
bcea784100
Fix indentation. (Bug 639231, patch 2) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
c3d6d54e6c
Keep reset and inherited style struct IDs separate. (Bug 639231, patch 1) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
32fe7b0573
Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky
...
I tested manually that after:
(a) removing the |ruleData.mValueOffsets[aSID] = 0;| in
nsRuleNode::WalkRuleTree
(b) removing the NS_ABORT_IF_FALSE(aRuleData->mValueOffsets[aSID] == 0,
...) from nsRuleNode::CheckSpecifiedProperties and
UnsetPropertiesWithoutFlags
that we crash dereferencing the poison address in a SetCoord call inside
nsRuleNode::ComputeTextResetData
2011-03-17 20:14:31 -07:00
L. David Baron
e3b26be137
Make test_property_database.html give all the errors rather than throwing an exception for the first missing longhand property. (Bug 636039, patch 18) r=bzbarsky
...
The main fix is in the first of the three for loops modified, but the
new structure of that one seems like an improvement worth applying to
the other two.
2011-03-17 20:14:31 -07:00
L. David Baron
e68f6cd3aa
Remove now unused nsRuleData* structs. (Bug 636039, patch 17) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
7fa3fafeb7
Remove Moz prefixes from names of subproperty tables. (Bug 636039, patch 16) r=bzbarsky
...
This fixes the FIXME introduced in patch 4.
2011-03-17 20:14:31 -07:00
L. David Baron
5a5e98acac
Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
b2fa8204db
Add index and count data for the properties that need to be computed for each style struct. (Bug 636039, patch 14) r=bzbarsky
...
This adds a second occurrence of the ugliest pattern of nsCSSPropList.h
inclusion.
2011-03-17 20:14:31 -07:00
L. David Baron
d69f50075f
Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
fa1e64c142
Remove now-unneeded parameters to COMPUTE_START_{INHERITED,RESET}. (Bug 636039, patch 12) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
f25a4ed96e
Convert nsRuleNode::Compute*Data to property getters instead of accessing struct members. (Bug 636039, patch 11) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
88015bb3dc
Correct checks that were for the wrong pseudo-property (script-level vs. script-size-multiplier). (Bug 636039, patch 10) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
9aa9f78b71
Remove unused *AtOffset methods. (Bug 636039, patch 9) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
0dc7fd526a
Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
b82b8c28d3
Convert attribute mapping functions to property getters instead of accessing struct members. (Bug 636039, patch 7) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
fb2a048576
Fix error in CSS vs. HTML precedence for the variable atttribute on the pre element. (Bug 636039, patch 6) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
eda89852ca
Add nsRuleData::ValueForBackgroundColor, etc., methods for each CSS property. (Bug 636039, patch 5) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
e81511619b
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
d1d5d732a1
Don't bloat nsCSSTable for members that only need to exist in nsRuleDataTable. (Bug 636039, patch 3) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
ea57c3b152
Correct comment describing nsRuleData::ValueFor. (Bug 636039, patch 2) r=bzbarsky
...
nsRuleData::ValueFor does not return null; it checks conditions that
would cause it to do so with NS_ABORT_IF_FALSE. Callers are required to
check mSIDs.
2011-03-17 20:14:30 -07:00
Boris Zbarsky
5c39968964
Bug 641856. column-rule needs to work even when overflow is not visible. r=roc
2011-03-17 13:41:52 -04:00
Craig Topper
1f2acc01f9
Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
435a97bcbe
Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
...
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
8bb0fba53b
Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
593acaf148
Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
b187409e0b
Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
...
--HG--
rename : layout/style/nsICSSNameSpaceRule.h => layout/style/NameSpaceRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
0ce0277213
Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Hiroyuki Ikezoe
78e029d69f
Bug 582216 - Make sure that we set _scrollTarget in every case in order to address intermittent failures in tabbrowser overflow handling; r=dao
2011-03-16 18:01:34 -04:00
Cameron McCormack
c11f8e1ecd
Bug 638756 - Stop occasional crashes when using mouse wheel when the Elantech touchpad hack is enabled r=jmathies
2011-03-16 12:08:53 +13:00
Mounir Lamouri
6f9290440a
Bug 640963 - Add nsHTMLInputElement::IsValueEmpty() const. r=bz
2011-03-12 02:07:34 +01:00
L. David Baron
e055e9f2d6
Include the opening "url(" in URL and Bad_URL tokens (though the latter do not have a close paren), and make tokenization of url() function be noncontextual, as required by CSS. (Bug 604179, patch 7) r=bzbarsky
...
Note that tokenization of url-prefix() and domain() remains contextual.
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-11 11:29:45 -06:00
L. David Baron
5d6a08f7ca
Include the close parenthesis in the URL token and make quoted URLs produce URL tokens rather than string tokens. (Bug 604179, patch 6) r=bzbarsky
2011-03-11 11:29:45 -06:00
L. David Baron
15a86695af
Disallow control characters less than space inside unquoted url(), per spec. (Bug 604179, patch 5) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
d44c2477e5
Fix incorrect indentation in nsCSSScanner::NextURL. (Bug 604179, patch 4) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
3fb9258741
Move the consumption of beginning whitespace (for all forms) and ending whitespace (for the string form) inside url() into the tokenizer. (Bug 604179, patch 3) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
32741bb192
Rename CSS tokens to be closer to the names of newly-added tokens (BAD_STRING, BAD_URI) in the CSS 2.1 tokenization. (Bug 604179, patch 2) r=bzbarsky
2011-03-11 11:29:44 -06:00