Jared Wein
8a6dfb9392
Backout changeset 40b0d61c132b due to bad commit message
2011-11-10 15:07:10 -08:00
Jared Wein
79ad1b014a
Backed out changeset b77ec6e8eb8c due to bad commit message
2011-11-10 15:04:12 -08:00
Jared Wein
92e233900f
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets
2011-11-10 15:02:26 -08:00
Jared Wein
8a76a2a508
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content
2011-11-10 15:02:21 -08:00
Ed Morley
345c2b06c0
Merge mozilla-central and mozilla-inbound
2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
fb722a61dd
Bug 698630 - Remove --disable-smil build option; r=dholbert
2011-11-05 10:32:52 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Henri Sivonen
139155d43e
Bug 482921 part 13 - Avoid regressing bug 673094 - RTL characters at the end of attribute values in View Source. r=ehsan.
2011-11-01 13:33:11 +02:00
Chris Pearce
427807cc7c
Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz
2011-11-01 18:11:09 +13:00
Phil Ringnalda
67849936c3
Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron
2011-10-21 23:30:56 -07:00
Daniel Holbert
e6272147fa
Bug 641731 tests: reftests for :visited status in image documents. r=dbaron
2011-10-29 02:44:27 -07:00
Daniel Holbert
7fafbc9d28
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Boris Zbarsky
39a93f53d5
Bug 667576. Handle visited colors correctly in MathML. r=dbaron
2011-10-29 03:04:20 -04:00
Boris Zbarsky
2a022d4e34
Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
...
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Jonathan Watt
8a0b72332d
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Mark Banner
cbd25443a2
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Daniel Holbert
d2a985d073
Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz
2011-10-27 15:58:05 -07:00
Boris Zbarsky
01bc3713f0
Bug 696233. Switch the nth-index cache to having a single hashtable per selector type (from end vs from start and of-type vs not-of-type). Gives somewhat better cache locality on some workloads and makes entry addition much cheaper because we no longer need to initialize all the new memory when the hashtable store is resized; we just initialize the parts of it we need as we need them. r=smaug
2011-10-26 15:34:20 -04:00
Boris Zbarsky
c9c4456454
Bug 662489. Reorganize the code flow for determining nth-index values. r=smaug
...
There are two changes here. The first is that the aCheckEdgeOnly case is factored out into a separate branch so as to avoid branching on aCheckEdgeOnly inside the sibling loop. This also allows us to reuse the IndexDetermined code for both aIsFromEnd and !aIsFromEnd cases. In particular, when aIsFromEnd we start by walking backwards and hoping for a cached index on a previous sibling and only walking forwards if that fails. For short child lists there's not that much of a difference, but for long ones this is a win.
2011-10-26 15:33:40 -04:00
Boris Zbarsky
025682fa0d
Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert
2011-10-25 12:58:35 -04:00
Jesse Ruderman
4a98a7e828
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Masatoshi Kimura
b62835cb59
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/linear-ref.html => layout/reftests/css-gradients/linear-1-ref.html
rename : layout/reftests/css-gradients/linear.html => layout/reftests/css-gradients/linear-1b.html
rename : layout/reftests/css-gradients/linear-diagonal-1-ref.html => layout/reftests/css-gradients/linear-diagonal-1c.html
rename : layout/reftests/css-gradients/linear-diagonal-2-ref.html => layout/reftests/css-gradients/linear-diagonal-2c.html
rename : layout/reftests/css-gradients/linear-diagonal-3-ref.html => layout/reftests/css-gradients/linear-diagonal-3c.html
rename : layout/reftests/css-gradients/linear-diagonal-4-ref.html => layout/reftests/css-gradients/linear-diagonal-4c.html
rename : layout/reftests/css-gradients/linear-keywords-ref.html => layout/reftests/css-gradients/linear-keywords-1-ref.html
rename : layout/reftests/css-gradients/linear-keywords.html => layout/reftests/css-gradients/linear-keywords-1b.html
2011-10-22 21:41:11 +02:00
Jesse Ruderman
be1983ca23
Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron
2011-10-21 21:03:16 -07:00
Zack Weinberg
572b6a6160
Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron
2011-05-28 15:38:48 -07:00
Zack Weinberg
d11be7aa44
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
445c0fa6a5
Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron
2011-05-18 10:33:16 -07:00
Marco Bonardo
96f6fdb983
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46
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
a86b1a4d43
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
b543b55998
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
2538e9f8cd
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Simon Montagu
e1abcb4f3d
Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc
2011-10-18 14:51:57 +02:00
Simon Montagu
5aadea5d7b
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
2a602a5685
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
b7753477cf
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
a519c9888a
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
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
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
9b7d613762
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
c7d3e6785c
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
a7d1f467b5
Bug 693155 - Add parens to clarify operator precedence in TransformFunctionsMatch (nsStyleAnimation.cpp); r=dbaron
2011-10-09 20:23:19 +02:00
Joel Maher
066569ae74
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
be5ce7dc85
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
9bbf579b35
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
d6675374cb
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
4cd3c0834b
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
f47e3f5396
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
9207ef81c8
Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron
2011-10-03 16:59:43 +13:00
Matt Woodrow
bc10d9cf93
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13:00