Zack Weinberg
954dd90cef
Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron
2011-05-28 15:38:48 -07:00
Zack Weinberg
a692848510
Bug 543151 part 2: Remove the special (but inconsistent with the error console) handling of hard tabs; small tidiness tweaks. r=dbaron
2011-05-19 15:44:14 -07:00
Zack Weinberg
ac323d6904
Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron
2011-05-18 10:33:16 -07:00
Marco Bonardo
ea7024ac8c
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
5a92aedb22
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
2c2da3099f
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
L. David Baron
9d86c5cff9
Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky
...
--HG--
extra : transplant_source : %A1MKm%89%0D%F3%02%0E%1A%16o%97%11%5C%C9%8Ci%1Dk
2011-10-17 16:49:22 -04:00
Simon Montagu
23fcb4824f
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Simon Montagu
8920dd6e82
Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc
2011-10-18 14:51:57 +02:00
Simon Montagu
738e432597
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Brad Lassey
2a0422ad2e
bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst
2011-10-07 13:46:02 -04:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren
9fc0be400e
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Luke Wagner
f90352c158
Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
...
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Ms2ger
26145a2767
Bug 693155 - Add parens to clarify operator precedence in TransformFunctionsMatch (nsStyleAnimation.cpp); r=dbaron
2011-10-09 20:23:19 +02:00
Joel Maher
bc68930aaf
Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm
2011-10-06 10:51:03 -04:00
Joel Maher
30e9deddd9
Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only.
2011-10-06 10:51:03 -04:00
Boris Zbarsky
46d661d94c
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-10-05 22:06:37 -04:00
Justin Lebar
9e403ddbf6
Back out 81ca82f27831 (bug 681755) due to incorrect leak reporting.
...
(I accidentally pushed the wrong version of this patch.)
2011-10-05 22:02:44 -04:00
Boris Zbarsky
eb19b99546
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-09-15 15:21:52 -07:00
Boris Zbarsky
11b5bde3e2
Bug 690990. Don't assert that sheets are not modified when it would be just fine for them to be modified. r=peterv
2011-10-03 15:11:59 -04:00
Matt Woodrow
a20a2599bb
Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron
2011-10-03 16:59:43 +13:00
Matt Woodrow
5c34b707d7
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13:00
Ehsan Akhgari
5e4dbdfba3
Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central
2011-09-29 20:29:11 -04:00
Ehsan Akhgari
4b84fe41d5
Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
...
Outer table frames act as CSS2.1 table wrapper boxes. We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width. This breaks horizontal positioning of
absolutely positioned kids of a table frame.
The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame. This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.
In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that. Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too. nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.
Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides. This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame. The
427129-table-caption reftest has been modified to match this new behavior.
Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
2b29cd6201
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Mark Finkle
8bb33dc7e1
Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
...
--HG--
extra : rebase_source : 39d5bb6c6d4d3165dcb10bded80a2aa9da7cb98e
2011-09-29 10:44:03 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky
77d1e9b388
Bug 460323 testcase.
2011-09-28 15:28:33 -04:00
Phil Ringnalda
49d5f976b1
Back out 6e359c7e8080 (bug 681755) on suspicion of bloating the Windows debug mochitest-4 logs to the point of truncation
2011-09-26 19:37:47 -07:00
Boris Zbarsky
7ab67f7e5d
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-09-26 18:04:36 -04:00
Matt Woodrow
1c7000d5d8
Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf
2011-09-27 10:54:45 +13:00
Matt Woodrow
bbeb8ef9e1
Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron
2011-09-27 10:54:30 +13:00
Matt Woodrow
c22db9c6a4
Bug 505115 - Part 18 - Make the perspective() transform function fail with numbers <= 0. r=dbaron
2011-09-27 10:53:39 +13:00
Matt Woodrow
28ca5bb7d9
Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf
2011-09-27 10:53:33 +13:00
Boris Zbarsky
29daf0fda9
Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv
2011-09-26 17:27:13 -04:00
Boris Zbarsky
a0c82870fe
Bug 185236 part 4. Pass along the owning element to all sheet load datas, assuming we have one at all. r=peterv
2011-09-26 17:27:00 -04:00
Boris Zbarsky
226991d556
Bug 185236 part 3. Add a way to differentiate SheetComplete calls for actual loads and for the fake SheetLoadData we use to trigger observer notifications for already-complete sheets. r=peterv
2011-09-26 17:26:54 -04:00
Boris Zbarsky
3752e6e036
Bug 185236 part 2. Make sure to remove our SheetLoadData from mPostedEvents before calling SheetComplete on it, so that checking for pending loads from inside SheetComplete will work correctly. r=peterv
2011-09-26 17:26:05 -04:00
Mats Palmgren
24bda5455f
Bug 686581 - Implement -moz-is-resource-document media query. r=roc
2011-09-24 10:28:54 +02:00
L. David Baron
5fa1a3da00
Add mochitest for bug 686656. r=bzbarsky
2011-09-20 23:52:46 -04:00
Boris Zbarsky
6f26e1d0d4
Bug 686656. Make sure to skip animation rules as well as transition rules when we're reparenting a style context when not processing an animation restyle. r=dbaron
2011-09-20 23:52:44 -04:00
Ehsan Akhgari
f3bacc8d1a
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-15 09:41:15 -04:00
Neil Rashbrook
e626e8ff0c
Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte
2011-09-15 08:40:17 +01:00
Neil Rashbrook
396ec9d7bf
Backout of bug 611503 because Android has some weird string code
2011-09-14 21:14:57 +01:00
Neil Rashbrook
12e76a497d
Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte
2011-09-14 20:21:20 +01:00
Ehsan Akhgari
4df687ca99
Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov
2011-09-13 15:09:51 -04:00