Commit Graph

8196 Commits

Author SHA1 Message Date
L. David Baron
a9774b11d6 Make IsAutoHeight be a member of nsLayoutUtils so we don't have to have two copies of it. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
065207f2c7 Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
de93cb92ab Make it possible to store pointer values in nsStyleSides. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
20bf35dbf2 Avoid serializing calc() expressions in computed style when the calc() expression has no percentages and we have no percentage basis. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
b99a005c4c Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837 Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
6f943b1da3 Introduce nsStyleCoord::HasCoordOrNonPercentCalc to check for either a coord value or a calc() value not containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
1a458f4877 Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
698bb0f927 Add support for calc() to ComputeWidthDependentValue and ComputeHeightDependentValue. Also change calc() handling of percents from using round to using floor, which changes our handling of percents on 'width' back to using floor, reverting an earlier change in this bug. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
3fc44d5786 Fix computed style for percents for offset properties when the element doesn't have a frame. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
4bec3e8641 Add prerequisites for better testing of 'top', 'right', 'bottom', and 'left'. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
b1710a1d59 Add prerequisites for better testing of min/max-width/height properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
L. David Baron
d742138a00 Add prerequisites for better testing of 'height'. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Jonas Sicking
5656569763 Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Mounir Lamouri
34f5fba970 Fix 19ada12a980f bustage, see bug 590418. a=fix-bustage 2010-08-25 09:37:38 +02:00
Boris Zbarsky
3e88cabbf5 Bug 586900. Loosen up the test condition for now, pending a fix for the real problem. 2010-08-25 02:52:07 -04:00
Mounir Lamouri
100dc92dd8 Bug 566045 - Default style for invalid form elements with :invalid. r=dbaron ui-r=limi a2.0=sicking 2010-08-25 06:40:31 +02:00
Mounir Lamouri
41d31e0af5 Bug 457801 (1/2) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-25 06:39:10 +02:00
Mounir Lamouri
a998cdc78c Backing out unintentional push ba7b3f3d3451, b21458f2e3a2 and f69cabe709ca. a=backout 2010-08-25 02:40:47 +02:00
Mounir Lamouri
7423b25a12 Bug 457801 (3/3) - Fix :-moz-placeholder reftests. r?=? 2010-08-25 02:02:28 +02:00
Mounir Lamouri
5de293a274 Bug 457801 (1/3) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-24 21:02:09 +02:00
Ms2ger
0cf7a5d525 Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
00001ff39e Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:06:07 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Matt Woodrow
2d04b79680 Bug 589634 - Don't create a sub-widget for decks. r=roc, a=roc 2010-08-23 20:58:56 -07:00
Ehsan Akhgari
93d6681861 Bug 512405 - Adjust the assertion count on all platforms unconditionally; r=Jesse a=NPOTB 2010-08-23 20:49:25 -07:00
Ehsan Akhgari
5f4aeee6a2 Bug 585922 - Text cursor doesn't follow character input for passwords (encrypted phrases) r=roc a=blocking-fennec2.0b1+ 2010-08-23 20:49:15 -07:00
Bobby Holley
1761fccdca Bug 589815 - Images loaded from XUL should never be discarded.r=joe,enndeakin;a=blocker 2010-08-23 15:43:06 -07:00
Jonathan Kew
727aef0e67 bug 585718 - support -moz-font-feature-settings and -moz-font-language-override in nsCSSFontFaceStyleDecl::GetPropertyValue. r+a=dbaron 2010-08-23 11:32:03 +01:00
Robert O'Callahan
e1bb3d5dc8 Bug 587887. Create pref for refresh driver timer, and make it 60Hz by default. r=dbaron,a=bsmedberg 2010-08-23 21:30:08 +12:00
Robert O'Callahan
4e218eafbb Bug 581222. Ensure that the bounds for opaque native-theme backgrounds are correct. r=tn
--HG--
extra : rebase_source : 0f660f659bf4240713de6e034b4dc8bd88dfb10e
2010-08-23 21:30:08 +12:00
Robert O'Callahan
6fac80e56c Bug 581222. Draw outer box-shadows for native-themed elements using the alpha mask of the theme background as the border-shape, and disable inner box-shadows. r=dbaron
--HG--
extra : rebase_source : a9b81a5d3e09cca41a8b479a4b62b3e2df6c4354
2010-08-23 21:30:08 +12:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
794cc06f63 Bug 581222. Back out patch that disabled box-shadows for native-themed content elements.
--HG--
extra : rebase_source : 4685dfdddd9e0bf1ed9e5f8401d6bc73b91a5600
2010-08-23 21:30:07 +12:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Karl Tomlinson
9262413ddf backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Timothy Nikkel
5071730cb3 Bug 588407. Put top level content documents in a container layer. r=roc 2010-08-21 19:55:55 -05:00
Timothy Nikkel
25c0749345 Bug 588337. When looking for a container view try a little harder to find the parent document's presshell. r=roc 2010-08-21 19:55:55 -05:00
Timothy Nikkel
e0f7b76a11 Bug 588692. If we can't paint with widget layers, don't try to. r=roc 2010-08-21 19:55:55 -05:00
Mounir Lamouri
eb4a11a0de Bug 558788 - Valid/Invalid form elements should change their state to use CSS3 pseudo-classes :valid and :invalid. f=ehsan r=sicking,dbaron sr=jst a2.0=blocking 2010-08-21 19:52:57 +02:00
Ryan VanderMeulen
2cba149979 Bug 588977 - Fix MSVC warning spam by casting as floats. r=roc a2.0=joe 2010-08-20 14:45:07 +02:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05:00
Robert O'Callahan
8cbf8e9f2a Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Jonas Sicking
0b25dbb018 Backout 2d6ead22831c (bug 588977) due to orange. a=backout 2010-08-20 10:25:52 -07:00
Ryan VanderMeulen
e2afcb8aa4 Bug 588977 - Fix MSVC warning spam by casting as floats. r=roc a2.0=joe 2010-08-20 14:45:07 +02:00