Commit Graph

4706 Commits

Author SHA1 Message Date
Chris Pearce
f8b6900964 Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Masatoshi Kimura
4869bfc58b Bug 627885 - Reduce test_value_cloning test output, r=dbaron 2011-10-30 00:55:00 -07:00
L. David Baron
e34405d957 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
291e0dc7f0 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
a076867204 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones 2011-11-20 22:21:16 -08:00
Chris Pearce
5e83cfcf48 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
002e3709ad merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Jared Wein
cda65cbc5f Bug 537718 - Video should scale for a small window. r=dao r=roc 2011-11-14 15:58:41 -08:00
Ed Morley
97371f54a6 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
da47c633a5 Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky 2011-11-14 16:30:28 +13:00
David Zbarsky
a7940e6db7 Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky 2011-11-14 16:30:22 +13:00
David Zbarsky
ee45467c76 Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky 2011-11-14 16:30:16 +13:00
David Zbarsky
206660658f Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky 2011-11-14 16:30:08 +13:00
David Zbarsky
b367b22f57 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
132af73713 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Jared Wein
33ed4198f3 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
63c98d235d 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
52cb6cfb6c Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein
14ab4b599a Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
8c14e2213f Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
71e0656f17 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
25046a9304 Bug 701262. Fix font redirect request failures. r=sicking 2011-11-11 08:38:23 +09:00
Ed Morley
119e485383 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6e731c995a 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
0e909492fe Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
b2aeac5a65 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen
29ab7a0e82 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
2f080358e1 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
896caef9af Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor 2011-11-08 07:38:22 +00:00
Boris Zbarsky
7bd098bc06 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
039d078d58 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Phil Ringnalda
1b3fe5a90b 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
c562eedff5 Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Daniel Holbert
8ce5facae3 Bug 641731: Ignore :visited status in SVG image documents. r=dbaron 2011-10-29 02:43:43 -07:00
Boris Zbarsky
1521aa3285 Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Boris Zbarsky
f62fd32979 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
276bdfa251 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
e7e4bd8568 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Daniel Holbert
78863735a0 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
e326fee695 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
0c9af0f1e3 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
c80ff528e4 Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert 2011-10-25 12:58:35 -04:00
Jesse Ruderman
0908f338ec Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Masatoshi Kimura
ce2f103148 Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron 2011-10-22 21:41:11 +02:00
Jesse Ruderman
f65cc969fc Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron 2011-10-21 21:03:16 -07:00
Zack Weinberg
0bdf036262 Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron 2011-05-28 15:38:48 -07:00
Zack Weinberg
323c52bebb 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
d9cb327746 Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron 2011-05-18 10:33:16 -07:00
Marco Bonardo
a809bda5f6 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
ffb4115bc4 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst 2011-10-18 14:19:44 +03:00