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