Robert O'Callahan
b4f3ced755
Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats
2011-12-18 21:46:39 +13:00
Carlo Alberto Ferraris
489a3d2e7e
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Matt Brubeck
a33e8cc7f3
Back out 97b8cff2764f (bug 376997) for Android reftest failures
2011-12-16 13:10:44 -08:00
Rob Campbell
11ba15c7c7
merge fx-team to m-c
...
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris
bff065abc9
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Masatoshi Kimura
ef45bcacdc
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Jet Villegas
df060249af
Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron
2011-12-14 23:42:15 -05:00
Boris Zbarsky
aec38ceac3
Bug 709256 part 5. Fast-path nsAnimationManager::DispatchEvents when there are no events. r=dbaron
2011-12-14 23:42:15 -05:00
Boris Zbarsky
d3f867aa67
Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc
2011-12-14 23:42:15 -05:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Ali Juma
cb6329df99
Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron
2011-12-09 14:18:05 -05:00
Boris Zbarsky
698f66378f
Bug 700914. Initialize the rulehash's hashtables lazily. r=dbaron
2011-12-09 05:29:01 -05:00
Nicholas Nethercote
587382cea2
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Boris Zbarsky
d3c1ed90ae
Bug 689443. Switch PerWeightData back to using linked lists instead of arrays for the actual per-weight rule data, so as to reduce fragmentation. r=dbaron
...
This incidentally fixes a bug where we were copying the per-weight data very inefficiently.
2011-12-08 01:32:11 -05:00
Daniel Holbert
bfde661671
Bug 698967: Fix "lengths" typo in test-descriptions for integer-valued properties in test_transitions_per_property.html. r=dbaron DONTBUILD
2011-12-06 18:49:15 -08:00
Boris Zbarsky
fd8c7db48c
Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron
2011-12-05 23:58:15 -05:00
Matt Woodrow
639b59b5e2
Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron
2011-12-05 11:53:38 +13:00
Simon Montagu
dbc1abede6
Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron
2011-12-04 18:02:10 +02:00
Chris Pearce
470451a61f
Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz
2011-11-30 11:00:31 +13:00
Masatoshi Kimura
8b3be611d9
Bug 627885 - Reduce test_value_cloning test output, r=dbaron
2011-10-30 00:55:00 -07:00
L. David Baron
4053e3de9f
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
98751dedcb
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Chris Pearce
9c07829ac8
Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz
2011-11-18 15:22:48 +13:00
Rob Campbell
bf422e9c17
merge fx-team to mozilla-central
2011-11-15 13:57:15 -08:00
Jared Wein
9ceb414e47
Bug 537718 - Video should scale for a small window. r=dao r=roc
2011-11-14 15:58:41 -08:00
Ed Morley
a65b13a742
Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz
2011-11-14 18:10:22 +00:00
David Zbarsky
9e02ed0fa2
Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky
2011-11-14 16:30:28 +13:00
David Zbarsky
2909c77125
Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky
2011-11-14 16:30:22 +13:00
David Zbarsky
46a0eca73f
Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky
2011-11-14 16:30:16 +13:00
David Zbarsky
ee37d5cfa8
Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky
2011-11-14 16:30:08 +13:00
David Zbarsky
afd0c5a467
Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky
2011-11-14 16:29:56 +13:00
David Zbarsky
4a23b35179
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Jared Wein
4bba1c0780
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao
2011-11-10 15:08:47 -08:00
Jared Wein
7240245900
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc
2011-11-10 15:08:07 -08:00
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
John Daggett
c801967c20
Bug 701262. Fix font redirect request failures. r=sicking
2011-11-11 08:38:23 +09: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
Boris Zbarsky
2010c8f7fc
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Ed Morley
2f9171b753
Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor
2011-11-08 07:38:22 +00:00
Boris Zbarsky
c396c0b176
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05: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
Ehsan Akhgari
4ef40fe917
Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central
2011-09-29 20:29:11 -04:00
Ehsan Akhgari
bdc5c5427c
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
c15d8c0733
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
7936c492ce
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
d8e503c38b
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
c8c8a24548
Bug 460323 testcase.
2011-09-28 15:28:33 -04:00
Phil Ringnalda
9fd1d4050e
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
ebcb9733ac
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
77eeddfb4e
Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf
2011-09-27 10:54:45 +13:00
Matt Woodrow
fbf0bfdb94
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
88e7b8f890
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
5e8876e4df
Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf
2011-09-27 10:53:33 +13:00
Boris Zbarsky
f022a015e7
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
0d67e51f11
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
dbbc87145e
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
b63dea03b7
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
ccb640b088
Bug 686581 - Implement -moz-is-resource-document media query. r=roc
2011-09-24 10:28:54 +02:00
L. David Baron
5bf7407d8d
Add mochitest for bug 686656. r=bzbarsky
2011-09-20 23:52:46 -04:00
Boris Zbarsky
e88e132dc5
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
733e4ea2dd
Merge the last green changeset of mozilla-inbound to mozilla-central
2011-09-15 09:41:15 -04:00
Neil Rashbrook
956f798ed0
Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte
2011-09-15 08:40:17 +01:00
Neil Rashbrook
843c1fef62
Backout of bug 611503 because Android has some weird string code
2011-09-14 21:14:57 +01:00
Neil Rashbrook
430bc94bad
Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte
2011-09-14 20:21:20 +01:00
Ehsan Akhgari
7b45893388
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
Ehsan Akhgari
71ab4b195b
Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures
2011-09-13 17:42:43 -04:00
Ehsan Akhgari
ba819d11ee
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
Ehsan Akhgari
6b8124559c
Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux
2011-09-13 13:29:30 -04:00
Ehsan Akhgari
5964c37a93
Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov
2011-09-13 11:45:54 -04:00
Masayuki Nakano
f15fd02ef4
Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron
2011-09-09 11:27:12 +09:00
Jonathan Watt
5b2a90280b
Bug 677198 - Remove some Windows line endings introduces by bug 505115. r=mattwoodrow.
2011-09-08 12:15:00 +01:00
Jonathan Watt
e2ac413f9a
Bug 664130 - Add a documenting comment to nsROCSSPrimitiveValue. r=bz.
2011-09-08 12:15:00 +01:00
Felix Fung
9bb0edf799
Bug 577266 - Correct misspellings in source code
2011-09-06 17:20:35 -07:00
Chris Pearce
7c3df7aedd
Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz
2011-09-05 08:39:08 +12:00
Matt Woodrow
2d0f18b12d
Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron
2011-09-01 11:35:10 +12:00
Matt Woodrow
c7faf71265
Bug 505115 - Part 17 - Add style tests for the new transform functions, and transitions. r=dbaron
2011-08-31 14:03:47 +12:00
Rob Campbell
b9acef0ccf
merge m-c to fx-team, clobbered windows
2011-08-29 12:19:08 -03:00
Matt Woodrow
ec5a391004
Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc
2011-08-27 12:01:46 +12:00
Matt Woodrow
312e8b4031
Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron
2011-08-27 12:01:06 +12:00
Matt Brubeck
fc19fcb962
Back out 14463b9d2d14 and 97d43d93ab55 (Bug 621363 and Bug 676274) because of mochitest-browser-chrome leaks
2011-08-26 15:28:28 -07:00
Joel Maher
14f70709fc
Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm,cjones
2011-08-26 15:47:34 -04:00
Joel Maher
43d4ca55ac
Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only.
2011-08-26 15:47:18 -04:00
Ed Morley
a31b5adc78
Merge last green changeset of m-c to m-i
2011-08-26 10:26:46 +01:00
Nicholas Nethercote
39080ab9ef
Bug 681161 - Shrink nsCSSCompressedDataBlock on 64-bit platforms. r=dbaron.
2011-08-25 23:05:55 -07:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mihai Sucan
726b8bb058
Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky
2011-08-24 23:44:35 +03:00
Jonathan Kew
addae4eaec
bug 680037 - check calls for failure before using the results in nsFontFaceLoader::LoadTimerCallback. r=jdaggett
2011-08-23 13:33:51 +01:00
Michael Ventnor
8af7fc4898
Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron
2011-08-23 14:18:22 +10:00
Brian Birtles
b1f72bbd99
Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
...
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
Brian Birtles
cc60dabff6
Bug 562815 part 5 - Split StyleWithDeclarationAdded; r=dbaron
...
--HG--
extra : rebase_source : 25e3f4591866e1438eca99f83c6ca3597508344f
2011-08-23 08:34:07 +09:00
Mats Palmgren
5862475346
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron
2011-08-20 22:41:39 +02:00
Matt Brubeck
25e22c7f78
Back out 6409a44ecb17 (bug 677173) because of test failures.
2011-08-18 19:04:06 -07:00
Matt Woodrow
13f1139305
Bug 677173 - Remove 3D transform IDL properties until it is enabled by default. r=dbaron
2011-08-19 12:43:12 +12:00
Markus Stange
076571f0ef
Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron
2011-08-18 10:40:27 +02:00
Marco Bonardo
4817019a06
Backout changeset 0c4897315acc (Bug 446569) since it may have caused the m4 permaorange.
2011-08-17 16:45:02 +02:00
Michael Ventnor
a3c3f7a72f
Bug 446569 - Implement prefixed CSS3 columns rule r=dbaron
2011-08-17 22:47:43 +10:00
L. David Baron
219025b071
Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
...
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.
This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent. It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger
66ab4757eb
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
960a7c7495
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
a0832b693a
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only
2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Kyle Huey
77bcd4d8bb
Merge b-s to m-c.
2011-08-10 11:12:30 -04:00
Justin Wood
f20a7276c2
Merge from m-c
2011-08-09 06:31:01 -04:00
Jonathan Kew
83fd93ec43
bug 665360 - hold reference to font family from loader. r=jdaggett
2011-08-09 08:51:46 +01:00
Jan Varga
5020b003ce
Bug 617528 Part 2 - Core implementation r=smaug
...
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Boris Zbarsky
d5c5425937
Bug 645998. Improve the recursion detection in the CSS loader to detect mutual recursion scenarios. r=sicking
2011-08-07 22:23:51 -04:00
Boris Zbarsky
d1fc2911e3
Bug 676174. Remove the unncessary RuleHash_CSMatchEntry and resulting complications from AtomSelector_CSOps. r=dbaron
2011-08-07 22:23:36 -04:00
arno renevier
2485241198
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
L. David Baron
345ff7596e
Media queries spec defines <resolution> values as allowing <number>, not just <integer>. (Bug 677642) r=bzbarsky
2011-08-11 14:25:13 -07:00
Kyle Huey
672b1171d1
Bug 676314: Count RuleHash's mArena in about:memory. r=bz
2011-08-08 08:36:38 -04:00
Kyle Huey
5121836049
Bug 676048: Followup to add more comments.
2011-08-08 08:34:57 -04:00
Martijn Wargers
f52fae3f77
Bug 675711 - test_computed_style.html fails partly on Fennec because of lack of scrollbars. r=dbaron, a=test-only
2011-08-04 14:10:27 -04:00
Matt Woodrow
c296cab4d8
Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron
2011-08-04 14:08:37 +12:00
Honza Bambas
de967ceeda
Bug 675616 - Change usage of localhost:8888 to mochi.test:8888 in test_css_cross_domain.html, r=zwol
2011-08-03 23:36:49 +02:00
Boris Zbarsky
84f2ccaf56
Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron
2011-08-03 14:32:32 -04:00
Vitor Menezes
fec17839e4
Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
...
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se. This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9
Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
...
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.
This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Marco Bonardo
b92ca56a08
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Matt Woodrow
05f861d628
Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc
2011-08-03 15:04:24 +12:00
Matt Woodrow
f015e13bb5
Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron
2011-08-03 15:04:24 +12:00
Matt Woodrow
ab8f7fa56f
Bug 505115 - Part 11a - Add nsCSSValueTriplet and optionally read a z component to -moz-transform-origin. r=dbaron
2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26
Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
ada52f1e13
Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron
2011-08-03 15:04:19 +12:00
Kyle Huey
4206f2424c
Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz
2011-08-02 16:21:52 -04:00
Kyle Huey
03cf2fd98c
Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz
2011-08-01 14:25:20 -04:00
Kyle Huey
f2a2e3cbf4
Bug 675624: Enumerate style sets in about:memory. r=bz
2011-08-01 14:24:38 -04:00
L. David Baron
be7a42e48c
Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
...
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
arno renevier
7619580585
Bug 674965: simplify .error selectors in viewsource.css r=mrbkap
2011-07-28 14:01:40 -07:00
Blake Kaplan
d8a379a6ee
Bug 673094 - Because " and > are weak LTR characters, we need to be more forceful in our attempts to have view-source be LTR. r=ehsan
2011-07-22 12:09:41 -07:00
Boris Zbarsky
f1ba3321cc
Bug 652301. Show focus outlines on all but a blacklist of focusable things in HTML, not just on a whitelist of them. r=dbaron
2011-04-27 16:52:23 -04:00
Matt Woodrow
6366c7e2e7
Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc
2011-07-23 10:28:51 +12:00
Matt Woodrow
f00688318f
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Mounir Lamouri
00b4aa4898
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
7e7c6831b6
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Joel Maher
c3a05191bb
Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only
2011-07-21 16:21:25 -04:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Jonas Sicking
d4380b0d71
Bug 664061: Remove isindex code from layout. r=dbaron
2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
42346e6d0b
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
3a70fea833
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Mounir Lamouri
b088e154d6
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
2179f30023
Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz
2011-07-19 09:42:14 -07:00
Mounir Lamouri
79c9d3ee6f
Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz
2011-07-19 09:40:18 -07:00
Matheus Kerschbaum
55aebc79d4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Jonathan Kew
a690e043c1
bug 671799 followup - mark crashtest assertions as being expected, r=orange
2011-07-15 16:56:59 +01:00
Jonathan Kew
33a5565ddc
bug 671799 - add tests for null URI in @font-face load-failure logging. r=bzbarsky
2011-07-15 15:52:29 +01:00
Jonathan Kew
98357a1569
bug 671799 - check whether mURI is null during @font-face console logging. r=jdaggett
2011-07-15 15:16:24 +01:00