Robert O'Callahan
8f331949bd
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 18:15:08 -05:00
Robert O'Callahan
3d9df1021b
Bug 590468. Part 1: Add support for XUL 'layer' attribute. r=tnikkel sr=vlad
2010-08-27 18:15:08 -05:00
Matt Woodrow
979cc597a3
Bug 591155 - Temporarily disable certain failing reftests which are visually indistinguishable when running with accelerated layers. r=vlad a=blocking2.0:beta6+
2010-08-27 16:58:53 +12:00
Robert O'Callahan
5dc7f6aacb
Bug 574621. Ensure that the prescontext DefaultBackgroundColor is painted on the background of root content documents. r=tnikkel
2010-08-26 22:01:43 -05:00
Timothy Nikkel
29818088cd
Bug 588684. Mark layout/reftests/svg/objectBoundingBox-and-fePointLight-01.svg as failing on Linux. r=dbaron
2010-08-27 18:15:08 -05:00
Timothy Nikkel
60fce64064
Bug 549799. Open the hover test in a new window so things in the chrome don't trigger reflows during the test. r=roc
2010-08-27 18:15:08 -05:00
Chris Jones
49048c0d61
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Chris Jones
a23b322c10
Merge backout
2010-08-31 00:32:51 -05:00
Chris Jones
b4fc7982d0
Revert temporary landing of 130078
2010-08-31 00:32:24 -05:00
Timothy Nikkel
72cb3f4b66
Revert to rev 36a5e2fa01c9
2010-08-28 01:11:22 -05:00
Robert O'Callahan
495dccb598
Bug 584193. Allow print preview to work without its own widget. r=smaug a=blocking beta5
2010-08-27 18:15:08 -05:00
Robert O'Callahan
1c6cd8ed20
Bug 130078. Part 2. Remove widgets from all subframes. r=dbaron
2010-08-27 18:15:08 -05:00
Jim Mathies
dbd4f65888
Bug 130078. Part 1.1. Update part 1 to deal with changes from bug 513162. r=roc
2010-08-27 18:15:08 -05:00
Robert O'Callahan
0ed33ec62a
Bug 130078. Part 1. Hookup view managers unconditionally. r=dbaron
2010-08-27 18:15:08 -05:00
Robert O'Callahan
c02234511d
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 18:15:08 -05:00
Robert O'Callahan
1986ba6f20
Bug 590468. Part 1: Add support for XUL 'layer' attribute. r=tnikkel sr=vlad
2010-08-27 18:15:08 -05:00
Timothy Nikkel
31a1602589
imported patch testhoverinnewwindow
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-27 03:34:56 -05:00
Timothy Nikkel
8139d1a8d5
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 03:34:27 -05:00
Timothy Nikkel
db9bbf8746
Revert to rev 7dd7010e3dc7.
2010-08-27 03:29:44 -05:00
Timothy Nikkel
165b06043a
Big oops.
2010-08-27 00:38:52 -05:00
Robert O'Callahan
f23546c84d
Bug 574621. Ensure that the prescontext DefaultBackgroundColor is painted on the background of root content documents. r=tnikkel
2010-08-26 22:01:43 -05:00
Timothy Nikkel
e374f8a563
Bug 588684. Mark layout/reftests/svg/objectBoundingBox-and-fePointLight-01.svg as failing on Linux. r=dbaron
2010-08-27 18:15:08 -05:00
Timothy Nikkel
dbe82d94fd
Bug 549799. Open the hover test in a new window so things in the chrome don't trigger reflows during the test. r=roc
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-27 18:15:08 -05:00
Timothy Nikkel
a9ea89a789
imported patch recordignoringsuppressiononsubdocs
2010-08-26 22:01:43 -05:00
Timothy Nikkel
cfa2a2df1a
imported patch suppresswhenenteringsubdocs
2010-08-26 22:01:43 -05:00
Timothy Nikkel
844374701c
imported patch addignoresuppressiontobuilder
2010-08-26 22:01:43 -05:00
Robert O'Callahan
32c50c5467
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-26 22:01:43 -05:00
Robert O'Callahan
04182d4ef1
imported patch layer-attribute
2010-08-26 22:01:43 -05:00
Timothy Nikkel
deb3dacf04
Bug 574621. Ensure that the prescontext DefaultBackgroundColor is painted on the background of root content documents. r=tnikkel
2010-08-26 22:01:43 -05:00
Timothy Nikkel
4de08cf5af
Bug 588684. Mark layout/reftests/svg/objectBoundingBox-and-fePointLight-01.svg as failing on Linux. r=dbaron
2010-08-26 22:01:43 -05:00
Robert O'Callahan
0c7ca7b2c0
Bug 584193. Allow print preview to work without its own widget. r=smaug
2010-08-26 22:01:43 -05:00
Chris Jones
8992432666
Merge m-c --> cedar
2010-08-26 21:36:43 -05:00
Ehsan Akhgari
fad8a096c1
Bug 240933 - Part 14: Disable a reftest which fails on D2D because of a problem uncovered by this bug (see bug 593160 for more information)
...
--HG--
extra : rebase_source : b2803f235a063126c3d6e5dc6e92a5f6b38961eb
2010-09-06 16:31:04 -04:00
Robert O'Callahan
06af911885
Temporarily landing patches for bug 130078. Will be backed out when it lands for real.
2010-08-20 18:24:40 -05:00
Jim Mathies
ee8930467d
Temporarily landing patches for bug 130078. Will be backed out when it lands for real.
2010-08-20 18:24:40 -05:00
Robert O'Callahan
444f617901
Temporarily landing patches for bug 130078. Will be backed out when it lands for real.
2010-08-20 18:24:40 -05:00
Boris Zbarsky
24095da713
Disabling failing test for now. a=dholbert|sheriff for CLOSED TREE
2010-08-27 14:02:23 -04:00
David Zbarsky
76be33e32b
Tests for Bug 36619 r=sicking a=blocking
2010-08-27 11:49:10 -04:00
David Zbarsky
4425a427fd
Bug 36619 - allow file input .click() to bring up filepicker r=sicking a=blocking
2010-08-27 11:49:06 -04:00
Jonathan Kew
59c7cfeb6c
bug 590101 followup - marking turkish test as random on windows (until we turn on harfbuzz), as behavior depends on uniscribe version. r+a=orange
2010-08-27 16:47:18 +01:00
Jonathan Kew
b4b46239ef
bug 590101 - part 2 - make font-features reftests more robust by explicitly setting line height and using larger font size. r=jdaggett a=test-only
2010-08-27 14:16:07 +01:00
Jonathan Kew
cc08ffe262
bug 590101 - part 1 - make reftest text/wordwrap-03 more robust by explicitly specifying monospaced font with support for diacritics. r=jdaggett a=test-only
2010-08-27 14:16:07 +01:00
Ms2ger
806677bfc9
Bug 585014 - Use Element in nsDOMCSSAttributeDeclaration; r=bzbarsky approval2.0=benjamin
2010-08-27 09:03:36 +02:00
Dão Gottwald
ff02b582e2
Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz
2010-08-27 09:02:10 +02:00
Boris Zbarsky
400e64bf2a
Bug 586201. Throttle refresh drivers in background tabs. r=roc, a=roc
2010-08-27 00:26:23 -04: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
Oleg Romashin
832333ab06
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
2eea7a3ba1
Update nsDisplayRemote to new nsDisplayItem interface
2010-08-23 22:23:37 -05:00
Chris Jones
1b38174082
Merge remote-frame code into m-c tip
2010-08-23 22:10:50 -05: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
Chris Jones
9ce9433a4a
Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc
2010-08-20 18:24:41 -05:00
Chris Jones
07e1a3fd87
Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg
2010-08-20 18:24:41 -05:00
Chris Jones
a8fd1c09e1
Bug 570620, part l: Implement the child side of PRenderFrame, which just acts as a conduit for shadow layers. r=tn
2010-08-20 18:24:41 -05:00
Chris Jones
8bf9326ebe
Bug 570620, part k: Implement the compositor side of PRenderFrame, which grafts a shadow layer tree into the compositor's tree. r=mats sr=roc
2010-08-20 18:24:41 -05:00
Chris Jones
3c749b6915
Bug 570620, part j: Add a PRenderFrame protocol for cross-process frame objects. r=tn
2010-08-20 18:24:41 -05:00
L. David Baron
6d0e099a47
Cache non-percent margin and padding calc() on the style struct. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
26ed2a5639
Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
70c2ff90c6
Share IsPaddingZero between nsBlockFrame and nsInlineFrame by putting it in nsLayoutUtils. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
ed01917887
Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
5957dcd320
Consolidate table-cell vertical align code. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-31 12:05:12 -04:00
L. David Baron
8bd67bd46c
Remove no-longer-needed code for handling unconstrained containing block widths. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-31 12:05:12 -04:00
L. David Baron
b3fa68a978
Make nsStyleCoord::operator== check deep equality of calc() expressions rather than just doing pointer comparison. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-31 12:05:12 -04:00
L. David Baron
afa21c712c
Fix typo in reftest documentation.
2010-08-31 12:05:12 -04:00
Zack Weinberg
38c9db7305
Bug 471643: Evaluate vertical percentages in border-radius relative to box height. r=dbaron a2.0=blocking:beta6+
2010-08-31 12:05:11 -04:00
L. David Baron
d6be2e856f
Add test for bug 590417.
2010-08-31 12:05:11 -04:00
Ehsan Akhgari
15e706b2f1
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
90ab413a2e
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
ed558e9032
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 8e6451d2e1414a61e15a9ffaf94470e02d2d0b72
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
578ac0b85f
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 5b6a4d870c1f95da0d2a1233d1648096ae599174
2010-08-13 18:58:24 -04:00
Ms2ger
a2c049c1fc
Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN
2010-08-20 08:05:05 +02:00
Karl Tomlinson
0e0e9d5750
b=588306 only invalidate all layers on PAINT_IGNORE_SUPPRESSION when there is suppression to ignore r=roc a=bsmedberg
...
--HG--
extra : rebase_source : 28d8cdebf0e8f06a33518263fa3089b317b5ccbc
2010-08-20 15:49:16 +12:00
Frédéric Wang
78cdc74871
reftests for bug 414277. r=karlt a=tests
...
--HG--
extra : rebase_source : ea7f03171aaf369f51dac804e2253db1444cc15e
2010-08-20 15:45:57 +12:00
Frédéric Wang
7536b35a76
Bug 414277 - scale stretchy operators when there is no glyph of suitable size. r=karlt a=dbaron
...
--HG--
extra : rebase_source : 325e318cbb27537229c9c14015133ba9222f4d29
2010-08-20 15:44:07 +12:00
Frédéric Wang
58274b26dd
MathML Operator Dictionary: add private data integral (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : d4e1f0e8d80cc1cafa630c89f730d4f30e686766
2010-08-20 15:43:10 +12:00
Frédéric Wang
a001c09834
MathML Operator Dictionary: update some entries whose stretchiness has changed (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : f6a56bd7e60f05d59c5a7571e1e888bb0b1edca1
2010-08-20 15:41:49 +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
Jim Mathies
4682c37ce5
Bug 593440 - Remove remaining child widgets on windows. r=roc, a=joe.
2010-09-08 10:52:58 -05:00
Oleg Romashin
2d72b944f4
Bug 556487 - reftests, test_flush_on_paint.html fix. r=roc a=blocking2.0
...
--HG--
extra : rebase_source : b322e49716bb2d74c5b86a0908076dea5bfdb3db
2010-09-07 17:36:54 -07:00
Oleg Romashin
b413ca6239
Bug 556487 - Snap plugin rect to integer pixels. r=roc a=blocking2.0
...
--HG--
extra : rebase_source : 6442890eb41dce7a134173b5d1e1c87c589cadd1
2010-09-07 19:51:50 -07:00
Oleg Romashin
ff18db0258
Bug 556487 - Post Reflow Callback for nsObjectFrame r=roc a=blocking2.0
...
--HG--
extra : rebase_source : c8058990232bbabf8fbd36890e0fb6190c318faf
2010-09-07 17:36:59 -07:00
Bas Schouten
7d0550d73e
Bug 594289: Disable reftest failing because of YUV rounding error. r=tn a=bustage
2010-09-08 10:29:17 +02:00
Alon Zakai
4606f548ac
Bug 359608 - Animated GIFs are animated even when user navigates to another page.r=bholley,bz;sr=bz;a=blocker
2010-09-07 17:33:02 -07:00
Bobby Holley
dbade7f8ac
Bug 592493 - Register border-images with the document image tracker.r=dbaron
2010-09-07 17:30:40 -07:00
L. David Baron
2779814ca6
Expose RectToGfxRect on nsLayoutUtils. (Bug 459144, patch 10) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
c3fe7e1462
Expose nsCSSRendering::ComputePixelRadii. (Bug 459144, patch 9) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
86166b79e6
Reduce the border-radius of elements with overflow != visible so that any present scrollbars are not clipped. (Bug 459144, patch 8) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
867c202386
Use nsIFrame::GetBorderRadii so that we pick up when it is overridden. (Bug 459144, patch 7) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
4f34aba74d
Add border-radius-related helper functions to nsIFrame. (Bug 459144, patch 6) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
fb568df1f4
Move clamping of border-radii that are too big from nsCSSRendering::ComputePixelRadii to nsIFrame::ComputeBorderRadii. This also fixes a bug in nsDisplayBoxShadowOuter::ComputeVisibility. (Bug 459144, patch 5) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
28e2edd0b4
Don't throw away the subpixel part of the border-radius. (Bug 459144, patch 4) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
L. David Baron
59ce09e952
Move skip-sides handling from nsCSSRendering::ComputePixelRadii to nsIFrame::ComputeBorderRadii. This fixes a bug (ignoring skip-sides) in nsDisplayBoxShadowOuter::ComputeVisibility, and improves the no-border-radius optimizations when skip-sides allow us to take them. (Bug 459144, patch 3) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
L. David Baron
228dbed13a
Make nsIFrame::ComputeBorderRadii take an nsSize instead of two nscoords. (Bug 459144, patch 2) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
L. David Baron
452d0afadd
Move nsCSSRendering::GetBorderRadiusTwips to nsIFrame and rename it to ComputeBorderRadii. (Bug 459144, patch 1) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07: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
Henri Sivonen
920f5c1228
Bug 577508 - Make the HTML5 parser hide the old page from view when the page being loaded shows a dialog. r=bzbarsky, a=blocking2.0-final.
2010-07-21 12:49:36 +03:00
Boris Zbarsky
f6879c0a75
588174. Make it possible to pass an explicit callback function to mozRequestAnimationFrame. r=roc, sr=dbaron
2010-09-09 01:38:04 -04:00
Daniel Holbert
c55d1116a4
Mark some of bug 276431's tests as random-on-windows, since they fail on win7, pending investigation. a=orange
2010-09-08 19:49:31 -07:00
Daniel Holbert
ef5baeebc0
Bug 276431 Patch 15: Reftests for svg-as-an-image. r=roc a=blocking
2010-09-08 13:40:40 -07:00
Daniel Holbert
fd2bfc1250
Bug 276431 Patch 12d: Make nsSVGOuterSVGFrame::ComputeSize use containing-block-size as its own size if we're in <img>, just like we do for <embed>. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
2ac6d89f7e
Bug 276431 patch 12c: Make nsSVGRenderingObserver into a generic interface, and rename the existing impl to nsSVGIDRenderingObserver. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
b2deb14937
Bug 276431 patch 12b: Allow "UnsuppressPainting" call to be effective in resource documents, by disabling EnsureVisible check. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
f246613ef4
Bug 276431 Patch 10: Make imgContainer::Draw take image-viewport-size, and improve nsLayoutUtils drawing wrappers. r=roc r=joe a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
52375da4a7
Bug 276431 Patch 9: Handle kFullImageSpaceRect in imgIContainerObserver::OnFrameChanged impls. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
f87ade996b
Bug 276431 Patch 8: Handle kFullImageSpaceRect in the only nontrivial imgIDecoderObserver::OnDataAvailable impl. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
b24a5d67c8
Bug 276431 Patch 5: Move two nsSVGUtils methods to header file so they can be inlined in non-gklayout code. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
0c7ead0f64
Bug 276431 Patch 4c: Add convenience method nsIDocument::IsResourceDocument, for code shared between external resource docs & svg-as-image helper docs. r=roc sr=jst a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
2532488690
Bug 276431 Patch 4b: Don't create a widget for documents that are being used as images. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
f385159cba
Bug 276431 Patch 4: Add flag on nsIDocument to let us check if it's actually being used as an image. r=roc sr=jst a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
a9e17bd649
Bug 276431 Patch 3b: Make nsImageFrame compute its transform on-demand. r=roc a=blocking
2010-09-08 13:40:38 -07:00
Daniel Holbert
d2bf82c2fc
Bug 276431 part 3: Make nsImageFrame store an intrinsic ratio separate from its intrinsic size, and accept percentages in its intrinsic size. r=roc a=blocking
2010-09-08 13:40:38 -07:00
Daniel Holbert
833fe03068
Bug 574529: When determining layout-flushing-safety, ignore IsSafeToRunScript if we aren't able to run script in the first place. r=bz a=blocking
2010-09-08 13:40:38 -07:00
Mounir Lamouri
d01e645ef5
Bug 594109 - FrameLayerBuilder.cpp uses TYPE_MATHML_CHAR_FOREGROUND outside of #ifdef MOZ_MATHML. r=roc a=bustage
2010-09-08 19:44:47 +02:00
Ehsan Akhgari
522299167b
Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
...
--HG--
extra : rebase_source : 134895e08a57c7aeb39f25266d8925cde4595159
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
25c62bf4b2
Bug 240933 - Part 9: Simplify text control frame's DOM point to offset conversion code; r=roc a=dbaron
...
--HG--
extra : rebase_source : 1ed8187ad31ca40bd0b4d5a5a3c7494aacfee495
2010-07-20 08:47:28 -04:00
Ehsan Akhgari
ddbe740048
Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc
...
--HG--
extra : rebase_source : a13c6c277ddb545614eb8c93131112bc793c1348
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
88f276e98a
Bug 240933 - Part 7: Collapse the selection in textarea's to the trailing BR if needed after every edit operation; r,a=roc
...
--HG--
extra : rebase_source : def2e0da4f32e9e50231b250075c45766bb00819
2010-09-01 18:06:52 -04:00
Ehsan Akhgari
2c6440bc8d
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 51ab2d6caf2b8827cf2e1eb88e5034d75268f658
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
42c1926629
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 93b34b04837da161ebedd900bbe8edc002c934ad
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8b538d8a3a
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 198f679bb5cea82b710c921576fa44c59f77aa23
2010-07-13 21:49:16 -04:00
Ehsan Akhgari
8c0a628bb6
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 9f015607bc84a11137ab11ba47c14e98c20e3970
2010-07-13 21:49:16 -04:00
Boris Zbarsky
90139f083f
Bug 589672 followup. Don't unget on code paths where it's already been handled for us. Fixes test orange. r+a=dbaron
2010-08-25 17:10:11 -04:00
Mounir Lamouri
dd70db2b50
Bug 590387 - Crash [@ nsGenericHTMLFormElement::UpdateFormOwner] when attaching an element with @form set to an element which is not in a document. r=sicking a2.0=blocking
...
--HG--
extra : rebase_source : 9f2a36b9a622c9ef1a2e3501ba45a297b8451d9e
2010-08-25 22:45:43 +02:00
Mounir Lamouri
a41989b4f5
Bug 590418 - Re-enable fixed css-placeholder/input/placeholder-removal.html reftest. a2.0=test-only
...
--HG--
extra : rebase_source : a2d9fef0be30f253d703515ea96d71dd0bb1ac1b
2010-08-25 22:19:28 +02:00
Boris Zbarsky
341cd11eb6
Bug 589672. Parsing of malformed namespace rules can skip over too many tokens while recovering. r=dbaron, a=dbaron
2010-08-25 14:54:48 -04:00
Boris Zbarsky
19c43a518c
Bug 586400. Cellpadding changes need to reresolve descendants. r=dbaron
2010-08-25 14:54:47 -04:00
Boris Zbarsky
d4692ab044
Bug 580167 part 3. Make nsLineLayout call ReflowText as needed. r=dbaron
2010-08-25 14:54:47 -04:00
Boris Zbarsky
49fc0489a4
Bug 580167 part 1. Create an nsTextFrame::ReflowText that doesn't need a reflow state. r=dbaron
2010-08-25 14:54:46 -04:00
Ehsan Akhgari
669cfe263b
Bug 590302 - Crash [@ nsTextControlFrame::CalcIntrinsicSize] on print preview with textarea, position:fixed; r=roc a=blocking2.0:final+
2010-08-25 01:44:18 -04:00
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
Ehsan Akhgari
b2d7d2f956
Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
...
--HG--
extra : rebase_source : 45cbd49946c1577786a5bd141384d92f9daf27c4
2010-07-11 16:26:26 -04:00
Ehsan Akhgari
4085a00c0c
Bug 240933 - Part 1: Do not split multiline text into textframes separated by BR elements; r=roc a=dbaron
...
--HG--
extra : rebase_source : bcaf760ad9d2e939a5d99f21cd8727ef71faea92
2010-07-11 16:26:26 -04:00
Ehsan Akhgari
27aec6b8bd
Bug 593211 - Part 3: Optimize nsBlockInFlowLineIterator by using the line cursor if present; r,a=roc
...
--HG--
extra : rebase_source : 03f9f9532373592b415e622788204a7766d998f6
2010-09-08 20:15:24 -04:00
Ehsan Akhgari
3b1ecb5fe3
Bug 593211 - Part 2: Back out bug 581585 r,a=roc
...
--HG--
extra : rebase_source : f368d3214a458bd642055c46ded2955bdec2a28b
2010-09-08 20:15:24 -04:00
Ehsan Akhgari
db9e8d389b
Bug 593211 - Part 1: Back out the code parts of bug 585922 r,a=roc
...
--HG--
extra : rebase_source : bab2379053115e6bcbb72515e3e161547be9029a
2010-09-08 20:15:24 -04:00
Josh Matthews
0984e327c5
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
...
--HG--
extra : rebase_source : 3a477fe6eab09f693538008aafa9c8bf880597b1
2010-09-10 16:27:52 -04:00
Brian Birtles
b90f670c09
Bug 587910 - SVG SMIL accessKey timing, r=dholbert,smaug; sr=roc; a=roc
2010-08-28 15:41:05 +09:00
Mounir Lamouri
6d9bb03e5f
Move 590387.html crashtest to content/html/content/crashtests/ a=test-only
...
--HG--
rename : layout/generic/crashtests/590387.html => content/html/content/crashtests/590387.html
2010-08-28 02:35:42 +02:00
Robert O'Callahan
7db127ab8d
Bug 584494 - Regression: Transform rotation testcase performs significantly worse - r=dbaron
2010-09-02 14:07:37 -04:00
Jonathan Kew
48abab1a0f
bug 569531 - enable harfbuzz by default on windows. r=roc approval2.0=roc
2010-09-02 12:28:48 +01:00
Robert O'Callahan
e31e06e790
Backing out bug 579276. a=me
2010-09-02 23:14:25 +12:00
Robert O'Callahan
8c26bb9f5c
Bug 579276. Part 10: add a couple of scrolling tests to ensure that text looks good when scrolled in an overflow:auto div. a=blocking
2010-09-02 21:19:24 +12:00
Robert O'Callahan
f646489e55
Bug 579276. Part 9: Backout 4d1dc2ea47fd since we no longer need those test changes
2010-09-02 21:18:41 +12:00
Robert O'Callahan
9bfc8a863e
Bug 579276. Part 5: Set CONTENT_NO_TEXT and CONTENT_NO_TEXT_OVER_TRANSPARENT flags. r=tnikkel
2010-09-02 21:18:40 +12:00
Robert O'Callahan
09145533e8
Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad
2010-09-02 21:18:40 +12:00
Robert O'Callahan
32869ab46f
Bug 579276. Part 4: Move nsDisplayItem parameter down to ThebesLayerData::Accumulate. r=tnikkel
2010-09-02 21:18:39 +12:00
Robert O'Callahan
c9a0fc0dce
Bug 579276. Part 8: Bump scroll timeout up a lot. r=tnikkel
2010-09-02 21:18:39 +12:00
Robert O'Callahan
a2c4dd3d43
Bug 579276. Part 2: If a transparent layer is over a solid background color, hoist that color into the layer to make it opaque. r=tnikkel
2010-09-02 21:18:39 +12:00
Robert O'Callahan
14f3d9ad78
Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad
2010-09-02 21:18:39 +12:00
Robert O'Callahan
76c7838dc0
Bug 580410. Hide reftest window title bar so the reftest window fits on our Mac test machines. test-only change, a=me.
2010-09-02 16:47:12 +12:00
timeless@mozdev.org
a1ef3f23dc
Bug 587483 warning: comparison between signed and unsigned integer expressions in FrameLayerBuilder. r=roc,a=roc
2010-09-02 16:46:53 +12:00
Robert O'Callahan
305ec4bd70
Bug 592941. Fix performance regression by ensuring we create a ThebesLayerInvalidRegionProperty for frames with new container layers. r=tnikkel,a=blocking
2010-09-02 16:43:45 +12:00
Timothy Nikkel
ada83800d7
Bug 591435. Need to honour paint suppression in subdocuments. r=roc a=blocking beta6+
2010-09-01 15:44:48 -05: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
Frédéric Wang
8c208dd73c
Bug 524275 - Make nsStretchDirection available for any operators. r=karlt a=dbaron
...
--HG--
extra : rebase_source : 0df9e11112d215ce4158574622e1b67faf668b08
2009-11-21 22:11:05 +01:00
Frédéric Wang
874efe569a
MathML Operator Dictionary: make operator with a stretchy form use the same direction for all their forms (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : 74c2ded175993d3cdf9a21be586302727e60a613
2010-08-20 15:38:08 +12:00
Frédéric Wang
fd3bcd18af
MathML Operator Dictionary: add entries for stretchy fences (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : e70fe8ac89cb77e0c71d7305d2ff4004fe7cf3df
2010-08-20 15:36:06 +12:00
Frédéric Wang
25563d8fe9
MathML Operator Dictionary: add entries for vertical and horizontal arrows (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : 6ace7c7366574544cfe68967c2b562a11d5b820b
2010-08-20 15:33:36 +12:00
Frédéric Wang
a475be6242
MathML Operator Dictionary: remove infix entries for N-ary Union and Intersection (bug 534970). r=karlt a=dbaron
...
--HG--
extra : rebase_source : d6bbaf616bc013037915769bb9716ee21e33a0df
2010-08-20 15:32:22 +12:00
Jonas Sicking
1efbd766ca
Back out bug 546857 Part 6 due to talos failures. a=backout
2010-08-19 18:41:58 -07:00
Jonas Sicking
1a06bd84dd
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
Jonas Sicking
da390373cb
Bug 546857 Part 5: Add a default permissions.sqlite to unit test profiles. r=ted a=blocker
2010-08-19 16:12:46 -07:00
Chris Jones
2ff6db8eb0
Merge backout
2010-08-19 19:04:11 -05:00
Chris Jones
921ef38edc
Backed out changeset 7b3726c3a580
2010-08-19 19:04:08 -05:00
Chris Jones
b1182f8adc
Merge backout
2010-08-19 19:03:59 -05:00
Chris Jones
308355c7a0
Backed out changeset cebb111fbfc4
2010-08-19 19:03:56 -05:00
Chris Jones
2766f0756d
Merge backout
2010-08-19 19:03:12 -05:00
Chris Jones
76fbbd8539
Backed out changeset c5945b6a97ed
2010-08-19 19:03:09 -05:00
Chris Jones
30e879db85
Merge backout
2010-08-19 19:02:12 -05:00
Chris Jones
80fd4bdeb9
Backed out changeset f1af117d4598
2010-08-19 19:02:09 -05:00
Chris Jones
adbf5eb411
Merge backout
2010-08-19 19:01:46 -05:00
Chris Jones
fdffbd4c9c
Backed out changeset 90ad165ae21b
2010-08-19 19:01:43 -05:00
Chris Pearce
8224c358fa
Bug 485288 - Replace all usage of video autobuffer attribute with preload=auto. a=test-fix
2010-08-20 10:50:37 +12:00
Zack Weinberg
0b50a47186
Bug 576044 (12/12): fix assertions in nsStyleAnimation triggered by part 3. r=dbaron a2.0=dbaron
2010-08-19 15:33:45 -04:00
Zack Weinberg
56198f48ed
Bug 576044 (11/12): Make all assertions fatal in Declaration.h, Declaration.cpp, nsCSSDataBlock.h, nsCSSDataBlock.cpp, nsCSSValue.h, nsCSSValue.cpp, nsCSSProps.h, and nsCSSProps.cpp. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
bd1cdb9ce4
Bug 576044 (10/12): Don't directly manipulate the contents of mTempData in the CSS parser. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
a589629d5e
Bug 576044 (9/12): Add an AddLonghandProperty method to nsCSSExpandedDataBlock. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
33b5fbfe1b
Bug 576044 (8/12): remove the last MoveValue call from the CSS parser. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
c400e27e25
Bug 576044 (7/12): cleanup pass on css/Declaration.{h,cpp} and nsCSSDataBlock.{h,cpp}. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
bc4afbe28a
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
a5a3802007
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
0251ba5a66
Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
e0203804f9
Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
5922bd1bb5
Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
e93186d2e7
Bug 576044 (1/12): Move all the CSS 'storage types' (rect, value pair, etc) to nsCSSValue.h and their code to nsCSSValue.cpp. r=dbaron a2.0=dbaron
2010-08-19 15:33:43 -04:00
Robert O'Callahan
210184cb84
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-19 13:49:35 -05:00
Robert O'Callahan
3ecd0a2a97
Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt
2010-08-19 13:49:35 -05:00
Chris Jones
39ff0004c3
Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc
2010-08-19 13:49:35 -05:00
Chris Jones
9b55c914bc
Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc
2010-08-19 13:49:35 -05:00
Chris Jones
d4d7c43a07
Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1
2010-08-19 13:49:35 -05:00
Mounir Lamouri
c3e6d1d85d
Bug 506554 - Implement the CSS3 pseudo-classes :required and :optional for HTML. r=sicking sr=bz a2.0=blocking
2010-08-19 02:03:20 +02:00
Mounir Lamouri
ef6632684a
Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking
2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845
Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking
2010-08-18 20:31:54 +02:00
Chris Pearce
bee12efb21
Bug 594617 - Disable img-dyn-1.html on windows due to random failure. a=test-fix
2010-09-14 16:24:47 -07:00
Benjamin Smedberg
79b91c860d
Merge backout of bug 595337 and bug 556487.
2010-09-14 14:51:04 -07:00
Benjamin Smedberg
3a5f09a601
Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure.
2010-09-14 14:50:24 -07:00
Daniel Holbert
ba3de9468d
Bug 594617: Make nsImageFrame::GetIntrinsicSize return its actual intrinsic size, and teach IsPercentageAware about SVG images. r=roc a=blocking
2010-09-14 16:20:32 -04:00
Ehsan Akhgari
12f7c089a6
Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input r,a=roc
2010-09-13 16:36:43 -04:00
Oleg Romashin
baf1d98565
Bug 556487 - ObjectFrame GetBounds. r=roc a=blocking2.0
2010-09-14 12:01:21 -07:00
Oleg Romashin
b655f6f31d
Bug 556487 - drop layer on dead child plugin process. r=roc a=blocking2.0
2010-09-14 12:01:16 -07:00
Oleg Romashin
60103e85b5
Bug 556487 - ObjectFrame BuildLayer implementation. r=roc a=blocking2.0
2010-09-14 12:01:13 -07:00
Oleg Romashin
73098601e1
Bug 556487 - handle async plugin layers rendering in reftests runner. r=dbaron a=blocking2.0
2010-09-14 12:01:07 -07:00
Markus Stange
0f5da2f8ac
Bug 590404 - Crash [@ nsURIHashKey::HashKey] with -moz-element in data: document; r=roc a=blocking-final+
2010-09-14 15:50:41 -04:00
L. David Baron
109dae0465
Don't push floats past break due to total lack of available height when we're required to place something. (Bug 586973) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
c1f752d22d
We might need to collect pushed floats from the overflow out-of-flows list too, just like normal floats. (Bug 586806) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
e46aea6922
Don't construct an nsFrameList whose first child has a previous sibling. (Bug 586806) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
fantasai
0b1afa37be
Do IsProperAncestorFrame check before destroying floats, but not for popups. (Bug 588158) r=dbaron a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
e749c034f3
Fix sorting errors in layout/reftests/bugs/reftest.list.
2010-08-19 09:38:00 -04:00
L. David Baron
52881c4fb2
Split floats when they are overflow-incomplete. (Bug 585598) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
bd3161b815
Destroy the pushed floats list in nsBlockFrame::DestroyFrom. (Bug 585598) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
bbbb91235a
Rename a frame property that I missed in a mass-rename. a2.0=blocking (Bug 563584)
2010-08-19 09:37:59 -04:00
Takanori MATSUURA
05b4001200
Bug 587614. Remove use of MOZ_NO_INSPECTOR_APIS. r=roc,a=NPOTB
2010-08-19 21:44:01 +12:00
Mark Banner
32648806db
Backed out changeset f600448ae7db / bug 471643 due to reftest failures
2010-08-19 09:27:01 +01:00
Zack Weinberg
531e232c65
Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron
2010-08-19 09:45:32 +02:00
Daniel Holbert
5d6d60ecb4
(no bug) a few whitespace fixes in layout, to triger fresh builds on a CLOSED TREE
2010-08-18 21:53:55 -07:00
Timothy Nikkel
f2fbddac07
Bug 572599. If we get an event on a child widget that is in a disconnected view subtree the view subtree might not have a root widget. r=roc
2010-08-18 20:16:58 -05:00
Timothy Nikkel
cc09403fac
Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc
2010-08-18 20:16:58 -05:00
Timothy Nikkel
fcaca91e69
Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. r=roc
2010-08-18 20:16:58 -05:00
Timothy Nikkel
b7b5763383
Bug 587534. When we unregister a plugin for geometry updates make sure to hide the plugin in case it hasn't been hidden yet. r=roc
2010-08-18 20:16:58 -05:00
Bobby Holley
dc8b4d0852
bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker
2010-08-16 12:23:09 -04:00
Bobby Holley
20c25243b6
bug 512260 - part 5 - make nsCursorImage::mImage private, add getter/setter, and lock images in the setter.r=dbaron,a=blocker
2010-08-16 12:19:26 -04:00
Bobby Holley
b3f5a9dc56
bug 512260 - part 4 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleContentData.r=dbaron,a=blocker
2010-08-06 13:27:01 -04:00
Bobby Holley
250fbc04bd
bug 512260 - part 3 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleBackground.r=dbaron,a=blocker
2010-08-05 17:57:18 -04:00
Bobby Holley
6788ead45a
bug 512260 - part 2 - Make ImageRenderer take a pointer to nsStyleImage rather than making a copy.r=dbaron,a=blocker
2010-08-05 17:30:19 -04:00
Bobby Holley
7a580f398c
bug 512260 - Add image tracker to nsDocument and register content images with it.r=roc,sr=dbaron,a=blocker
2010-08-03 20:40:29 -04:00
Brian Birtles
36e7527d9a
Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+
2010-08-18 19:20:24 +09:00
Brian Birtles
62844c6133
Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc
2010-08-18 19:20:24 +09:00
Brian Birtles
f5f57834b2
Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc
2010-08-18 19:20:24 +09:00
Brian Birtles
c81d68f39a
Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc
2010-08-18 19:20:24 +09:00
Robert O'Callahan
8d6e97edd5
Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron
2010-08-13 21:59:16 +12:00
Robert O'Callahan
20c2a19d6a
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Robert O'Callahan
dfbb28ab06
Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
dc13662908
Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
907d0109b7
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
b7df1787ef
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Rob Arnold
beb6ddf7e8
Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0
2010-08-17 23:07:10 -04:00
Benjamin Smedberg
122c097a0c
Bug 587715 - Include Qt headers before anything else because of conflicts with X and mozalloc. r=bustage fix
2010-08-17 10:35:21 -04:00
Neil Deakin
838688f1fb
Bug 551434 - Store the keydown target and retarget the keypress/keyup events when focus changes from chrome to content. r=smaug
2010-08-17 14:37:50 +02:00
Mounir Lamouri
41b8bedd41
Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage
2010-08-17 02:08:35 +02:00
Benjamin Smedberg
dde4dba2fd
Bustage fix of the bustage fix, bug 583053.
2010-08-16 12:38:43 -04:00
Benjamin Smedberg
937dfa414c
Linux followup to bug 583053 - fix the include ordering so that KeyPress is defined at the time we need it.
2010-08-16 11:41:46 -04:00
Benjamin Smedberg
c179a09b28
Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent
2010-08-16 10:10:25 -04:00
Jeff Muizelaar
e7ecb4fea4
Disable more intermittent reftests on D2D
2010-08-16 09:36:02 -04:00
Bas Schouten
b4cb1a06e5
Bug 587319: We do not know the metrics yet for DWrite fonts. Disable when using DWrite. r=joedrew
2010-08-16 09:15:03 +02:00
Phil Ringnalda
547f4dfeaa
Bug 587530 - Put nsICapturePicker in the properly named xpt, and package it for Firefox, r=roc, a=gavin
2010-08-15 18:37:53 -07:00
Edmund Wong
7ef58c704b
Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only)
2010-08-15 15:50:02 -07:00
Ms2ger
120c26ed9f
Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron
2010-08-15 11:19:34 -04:00
Mounir Lamouri
034db79f04
Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+
2010-08-15 11:19:34 -04:00
Mats Palmgren
520a653dae
Get the parent pres shell from the docshell instead of the document. b=587064 r=roc a=blocking2.0
2010-08-15 15:54:02 +02:00
Robert Longson
79c3db79d2
Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron
2010-08-15 08:42:29 -04:00
L. David Baron
810d004cf3
Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg
2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195
Backed out changeset 7b475a00cd7c. Reftest bustage.
2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886
Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron
2010-08-14 20:42:18 -04:00
Jeff Muizelaar
dadfc555de
Bug 586835. Disable a couple more intermittent reftest fails with D2D.
...
Not sure what's going on with these yet...
2010-08-14 08:32:38 -04:00
Daniel Holbert
5b754a5516
Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking
2010-08-13 21:09:48 -07:00
Jeff Muizelaar
932d88e8c5
Bug 586835. Disable the d2d reftests that fail but are still sane. r=joe
...
This is in preparation for enabling d2d by default. A bunch of these will be
changed from random-if to fuzzy-if when bug 580786 lands. Some of them should
also be fixed or investigated more thoroughly before final.
2010-08-13 11:44:24 -04:00
Jeff Muizelaar
b58eb91fc9
Bug 583857. Expose whether D2D is enabled to reftests. r=roc
2010-08-13 11:44:21 -04:00
Robert Sayre
f80324a33f
Merge tracemonkey to mozilla-central.
2010-08-13 12:45:44 -07:00
fantasai
de0f13939e
Bug 536721 - Tweak DestroyOverflowList so it does not trigger Missing destruct root assertion. r=bz a=dbaron
2010-08-13 14:36:05 -03:00
Benoit Girard
a99dabf3d1
Bug 583356 - Create Plug-in ContextMenu with a right-click mouse event. r=josh
2010-08-13 12:45:32 -04:00
Robert Sayre
ff3fd8aeaf
Merge mozilla-central to tracemonkey.
2010-08-12 10:12:04 -07:00
Robert Sayre
e0df9dbc6a
Disable the test for bug 458898. See bug 562955.
2010-08-11 09:59:54 -07:00
Olli Pettay
58fd6133b2
Bug 585815, create treerange list straight to the mFirstRange, r=neil
...
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
67ad9ee7ed
Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
...
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00
Mats Palmgren
a9ff1e450d
Bug 576649. r=bzbarsky a=blocking2.0
2010-08-10 19:04:43 -03:00
Markus Stange
c107bb11a9
Bug 506826 - Fix overlapping frame state bit.
2010-08-13 18:09:58 +02:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
275faa4f5e
Bug 506826 - Tests.
2010-08-13 15:36:19 +02:00
Markus Stange
438fa8a236
Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc
2010-08-13 15:36:13 +02:00
Markus Stange
18bccb9bd9
Bug 572689 - Allow overriding ID targets with mozSetImageElement for the BackgroundImageProperty which is used for -moz-element drawing. r=roc
2010-08-13 15:36:05 +02:00
Markus Stange
27b4c7fdf3
Bug 506826 - Hook up -moz-element painting. r=roc
2010-08-13 15:34:01 +02:00
Markus Stange
c90a203b09
Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc
2010-08-13 15:32:27 +02:00
Markus Stange
12b1bcc7b0
Bug 506826 - Use a frame state bit for recursion detection in SVG pattern drawing. r=roc
2010-08-13 15:32:15 +02:00
Markus Stange
62cafdb8cc
Bug 506826 - Make nsLayoutUtils::PaintFrame able to draw all continuations of a frame. r=roc
2010-08-13 15:32:04 +02:00
Markus Stange
2ea78354c5
Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc
2010-08-13 15:31:31 +02:00
Markus Stange
3df2a2ce8e
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
Markus Stange
d3a1fa6d47
Bug 572689 - Add an SVG property for -moz-element called BackgroundImageProperty and make it able to handle multiple observers with different observer URLs. r=roc
2010-08-13 15:30:45 +02:00
Markus Stange
b7ae3b9683
Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc
2010-08-13 15:30:37 +02:00
Robert O'Callahan
07ca177c02
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel
2010-08-13 21:57:48 +12:00
Timothy Nikkel
7e149ba847
Bug 579621. Fix print preview tests to be content subdocuments. r=roc
2010-08-13 21:57:29 +12:00
Robert O'Callahan
0b542b46ed
Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe
2010-08-13 21:55:54 +12:00
Robert O'Callahan
b004c93cb1
Bug 579258. Change IsVaryingRelativeToMovingFrame to take the 'moving frame' as a direct parameter instead of getting it from the builder. r=tnikkel,a=joe
2010-08-13 21:54:37 +12:00
Robert O'Callahan
254458b52a
Backed out changeset 0c4519d63a98
2010-08-12 11:32:21 +12:00
Boris Zbarsky
657e764de8
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Boris Zbarsky
d9188b16ef
Bug 577607 part 1. Make sure resource documents don't have presshells when their display document doesn't. r=roc
2010-08-11 17:05:26 -04:00
fantasai
4b31319f01
Change coordinate system in the float manager from content box (most of the time, but sometimes border box) to always border box. (Bug 551425) r=dbaron a2.0=blocking+
2010-08-11 12:32:53 -07:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
L. David Baron
d45401cfa4
Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
462a888804
Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
bc1a47c26f
Make a common base class for calc ops that use nsStyleCoord as input. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
5e2de175f2
There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
86686305cb
Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
fe0508e3b2
Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
248a3cdc5f
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Boris Zbarsky
456e9e5548
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Boris Zbarsky
4de28566f3
Bug 577607 part 3. Use the main doc refresh driver for resource documents and the parent document's refresh driver for documents that are not roots of their type. r=roc, a=joe
2010-08-11 17:05:27 -04:00
Boris Zbarsky
b2753641df
Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc
2010-08-11 17:05:27 -04:00
Neil Deakin
b698859822
Bug 585841 - Right click, 'copy link location' no longer works
...
r=Neil
a=blocking2.0
a=sheriff for landing
2010-08-10 13:55:31 -07:00
Olli Pettay
a76dd6006c
Bug 584866 - Cache LoadFrameScript Calls [r=jst]
2010-08-10 13:18:26 -04:00
Ehsan Akhgari
c07d2babfd
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Dão Gottwald
f246f9a00f
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da
Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-10 14:25:28 +02:00
Mark Banner
56fc2d488f
Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix
2010-08-10 10:44:25 +01:00
Simon Montagu
d5a4b2d2de
Check that frame offsets are within content. Bug 579655, r=roc, blocking2.0=dsicore
2010-08-10 10:08:59 +03:00
Jim Mathies
a4b41e665b
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Neil Deakin
fb66fae998
Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc
2010-08-09 12:17:19 -04:00
Neil Deakin
0284f4eb26
Bug 583255, don't involve views in tree offset computation, fixes inspector mouse events, r=roc,a=dbaron
2010-08-09 12:15:39 -04:00
Phil Ringnalda
06836ca775
Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts
2010-08-08 17:48:03 -07:00
Robert O'Callahan
770c98f7eb
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel, a=blocker
...
--HG--
extra : rebase_source : 669b45a017fd52aa8106b98f6f8dd2d5ed846d4e
2010-08-04 21:40:00 -07:00
Timothy Nikkel
e3a4bc82b8
Merge back out of changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:59 -05:00
Timothy Nikkel
f7b17b72dc
Backed out changeset 86e8ec17e532 (bug 584193).
2010-08-08 16:58:40 -05:00
Jeff Muizelaar
e1b778434f
Bug 585163. reftest: Adjust scales and text sizes to an exact representation. r=roc
...
This fixes the test with Direct2D. Inaccurate values for font_matrix come
from converting 6/60 into a float and then treating it as a double.
2010-08-08 15:54:27 -04:00
Jeff Muizelaar
556e5abfa9
Bug 584515. Fix border-breaking-000-cols.xhtml on D2D. r=roc
...
We are running into rasterization inaccuracies here.
This test draws green circles on a green rectangle and assumes that the result
will be solid green.
Here's what happens with D2D:
D2D computes coverage values in floating point so assume that we get a coverage
of about 0.112399 or 0.112399*255 == 28.6
green (128/255 == 0.50196) is multiplied by the coverage to get 0.0564702 or
.0564702*255 == 14.39
the results of the pixel shader get rounded before blending. So we get
(r=0,g=14,b=0,a=29)
blending this OVER green gives:
14+(255-29)*128/255 == 127 instead of 128.
This doesn't happen with other backends because they typically use integer
coverage amounts.
We fix it by using ' ' instead of '.'
2010-08-08 15:54:24 -04:00
Robert O'Callahan
e14c5ee113
Bug 584193. Allow print preview to work without its own widget. r=smaug
2010-08-08 13:49:07 -05:00
Timothy Nikkel
470b36c651
Bug 579663. Part 9. Simplify ProcessDisplayItems because all items in a container layer have the same app units per dev pixel. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
76194eb9aa
Bug 579663. Part 8. Simplify FrameLayerBuilder::DrawThebesLayer because it does not have to deal with items at different AppUnitsPerDevPixel ratios. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
e9dcad73c7
Bug 579663. Part 7. Assert AppUnitsPerDevPixel is constant in container layers. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
c759887052
Bug 579663. Part 6. Convert the update rect used for fixed backgrounds to the app units of the display root. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
308d16ff7b
Bug 579663. Part 5. Make display zoom items create a container layer. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
205f53d5ac
Bug 579663. Part 4. If the viewport frame has a container layer then we need to invalidate it too. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
714913a4d8
Bug 579663. Part 3. Use the right AppUnitsPerDevPixel for zoom items. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
b96104bb22
Bug 579663. Part 2. Be able to get the APDs out of display zoom items. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
bbc6dff559
Bug 579663. Part 1. Remove unused offset param from GetActiveScrolledRootFor. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
495b7af67e
Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron
2010-08-08 13:49:06 -05:00
Timothy Nikkel
16a985dc6e
Bug 584617. Part 2. If we get passed an unusual backstop color we need to flush layers. r=roc a=dbaron
2010-08-08 13:49:07 -05:00
Timothy Nikkel
f51a1285cb
Bug 584617. Part 1. Make sure that we don't use the overflow rect of the root frame instead of the dirty region when we are drawing ignoring viewport scrolling because that might be wrong. r=roc a=dbaron
2010-08-08 13:49:07 -05:00
Timothy Nikkel
f05b15e0e0
Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc
2010-08-08 13:49:07 -05:00
Robert Longson
f8e75e6fb6
Bug 577850 - A gradient applied to SVG Text element should render as if the objectBoundingBox spans the entire Text content. r=roc
2010-08-07 10:38:11 +01:00
Vladimir Vukicevic
30c2b7b82c
b=574481; fix layers lifetime issues; part 6 - fix up some video frame bits; r=roc
2010-08-06 22:09:18 -07:00
Dave Townsend
a31d02e412
Backed out changeset 8f8ee0543d0f from bug 580869 in the CLOSED TREE
...
--HG--
extra : rebase_source : 0bfba926d30e0d6fc80bccd4a5614b1532d9234b
2010-08-06 15:01:59 -07:00
Dave Townsend
7c971976b0
Backed out changeset 300036f6c90f from bug 580869 due to test failures
...
--HG--
extra : rebase_source : 03db1d0833857740d0e80fd12d56bbc4bd5121d2
2010-08-06 15:00:19 -07:00
Boris Zbarsky
a22ae7125c
Hacking around broken test or tree code for now to fix orange in CLOSED TREE
2010-08-06 14:38:21 -04:00
Boris Zbarsky
4a3531738d
Bug 547342 followup. Need to make sure to flush even if we have a cached treebody.
2010-08-06 11:08:06 -04:00
Ehsan Akhgari
7dc883912c
Bug 580869 - bustage fix; irc stamp=bzbarsky
2010-08-06 10:49:32 -04:00
Ehsan Akhgari
c997e86b2e
Bug 581585 - Cache the frame for caret; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3043705ce2689532c40d6e0f1b023b55174e8a88
2010-07-26 20:05:14 -04:00
Ehsan Akhgari
d298284e05
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : c04666fc452be4108ed717686086a5f7baba753d
2010-07-23 17:37:55 -04:00
Boris Zbarsky
fb72631f4c
Bug 547342 real fix. Flush on ScrollToRow. r=enn
2010-08-05 14:39:39 -04:00
Boris Zbarsky
052a2f6a83
Bug 575336 part 5. Stop flushing out layout on the whole viewmanager tree when layout is flushed on a document and results in invalidates. r=roc
2010-08-05 14:39:39 -04:00
Boris Zbarsky
fcf146ef6f
Bug 575336 part 3. Change the reftest harness to do its initial flush on all subframes, not just the root one. r=roc
2010-08-05 14:39:39 -04:00
Boris Zbarsky
e8a9de31ab
Bug 575336 part 1. Make sure to update the size of the current prescontext on style flush, so that media queries do the right thing. r=roc
2010-08-05 14:39:39 -04:00
L. David Baron
75fe6757f3
Bump assertion count on Windows; followup to bug 563584.
2010-08-05 23:01:07 -07:00
Craig Topper
8972b3e08e
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
L. David Baron
6d279b0435
Rename float continuations to pushed floats. (Bug 563584, patch 33) r=roc
...
This patch was generated with the following sed commands on layout/generic/*.{h,cpp}: 's/FLOAT_CONTINUATION/PUSHED_FLOAT/g;s/FloatContinuation/PushedFloat/g;s/float continuation/pushed float/g' plus whitespace fixup where the frame state bits are defined.
2010-08-05 21:59:20 -07:00
L. David Baron
48dd50ff36
Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
50efda9d7b
Add reftests for bug 563584. (Bug 563584, patch 31) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
202767697e
Set incomplete status when we have continuations that we shouldn't destroy. Fixes assertion on layout/generic/crashtests/469859-1.xhtml . (Bug 563584, patch 30) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
d71021a7dd
Don't switch a constrained height to an unconstrained one due to infinite clearance. Fixes layout/reftests/bugs/563584-10b.html . (Bug 563584, patch 29) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
875b636719
Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
74b8b51e37
Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27)
2010-08-05 21:59:20 -07:00
L. David Baron
5239f85a39
Don't split floats when we're not paginating. (Bug 563584, patch 26) Fixes assertion on layout/generic/crashtests/461294-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
bc78f1fdf5
In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5deb652621
Add bit to lines indicating that they may have a placeholder for a float that was pushed to the next line (and bump the child count up to 32 bits). (Bug 563584, patch 24) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
d34dbc633c
Adjust reftest assertion manifests for churn in nscoord_MAX-related assertions (which includes 'computed overflow area' assertion, because of width wraparound in UnionRect making overflow area empty). (Bug 563584, patch 23) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
934f7dfb67
Pass correct *remaining* height to float manager, rather than the whole height of the content area. (Bug 563584, patch 22) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
b56efbfcf6
Add checks to VerifyList that previous siblings match next siblings. (Bug 563584, patch 21) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
4a3f5d15df
Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
46bdda8846
Rename PushTruncatedPlaceholderLine since the remaining reasons for lines being truncated are related to being next to floats, not having truncated floats. (Bug 563584, patch 19) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5247c76404
Do the same for PlaceBelowCurrentLineFloats: don't propagate the truncation of a float into the line's reflow status. (Bug 563584, patch 18) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
867d31744c
Don't propagate the float's reflow status through places that expect an inline's reflow status, to avoid the assertion for which bug 563584 was filed. This separates pushing of floats from pushing of lines, and allows first-in-flow floats to be pushed to the next page without their associated line. (Bug 563584, patch 17) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f3f9dbebba
Save float's next sibling since reflowing it could change the next sibling. (Bug 563584, patch 16) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
646c626078
Steal float back before reflowing it, in order to allow first continuation of a float to be pushed to the next page. (Bug 563584, patch 15) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fd5ab03929
nsBlockFrame::ReflowFloatContinuations doesn't need anything in AddFloat other than FlowAndPlaceFloat. (Bug 563584, patch 14) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
e714f071f9
Manage float continuations to-be-pulled by the next-in-flow better by keeping them in a separate frame list until they're actually pulled. (Bug 563584, patch 13) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
99f4849c65
Track which frames were float continuations that need to be pulled to the next block rather than figuring it out again when it's time to pull them. (This allows first-in-flows to be float continuations.) (Bug 563584, patch 12) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
7c80834b1e
Make nsFrameList::RemoveFramesAfter(nsnull) remove the whole list. (Bug 563584, patch 11.5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4f730231c6
Don't try to clear pushed floats when computing the final size of blocks. Fixes scrollbar on layout/reftests/bugs/563584-6-columns.html . (Bug 563584, patch 11) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fe16c37241
Add the optimization mentioned in the previous patch, so we don't have to iterate all floats to determine if one was split. (Bug 563584, patch 10) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
02c1db8436
Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4da470a62d
Remove initialization to value that doesn't make much sense and never matters. (Bug 563584, patch 8) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
138354b6a3
Use an AutoRestore to restore mY in nsBlockReflowState::FlowAndPlaceFloat. (Bug 563584, patch 7) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
489ed8d30b
When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
08a16e6b29
Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f46f248ca8
Make nsBlockReflowState::FlowAndPlaceFloat reflow the float after computing its vertical position, so we know how much height is actually available. (Bug 563584, patch 4) r=roc
...
Test coverage for this is in the future patch "Add reftests for bug 563584.".
2010-08-05 21:59:18 -07:00
L. David Baron
353538a3ba
Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
11f75cf522
Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
a33881c053
Fix assertion about float manager state by restoring old float manager state when we place a float and then cancel that placement. (Bug 563584, patch 1) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
06135a3d37
Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky
2010-08-05 21:59:18 -07:00
L. David Baron
8e7483c7aa
Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc
2010-08-05 21:59:18 -07:00
Chris Jones
1d4cc217ed
Bug 570620, part b: Fix a hidden header depedency and add a PresShell::GetLayerManager() helper. r=tn
2010-08-05 17:11:23 -05:00
Chris Jones
3b7ff8f6bc
Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc
2010-08-05 17:11:23 -05:00
Boris Zbarsky
0b5df24742
Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron
2010-08-05 17:59:36 -04:00
Bobby Holley
27a2d4812b
Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker
2010-08-05 11:27:52 -04:00
Daniel Holbert
f3625579d2
Bug 578786: Fix reftests for bug 491180 on Ubuntu 10.04. r=bz a=tests-only
2010-08-05 07:53:43 -07:00
Daniel Holbert
996b8e29c8
Bug 579492: Use dev pixels for screen rect in PresShell::PaintRangePaintInfo. r=roc a=dbaron
2010-08-05 07:53:43 -07:00
Jonathan Kew
f9fab4a776
bug 581092 - use unrounded width when advancing x-position to draw RTL text run in canvas. r=vlad a=blocking2.0
2010-08-05 10:18:39 +01:00
Jonathan Kew
a02799847b
bug 578118 - reduce font size in reftest to avoid D2D antialiasing irregularities. r=bas a=tests-only
2010-08-05 10:18:37 +01:00
Boris Zbarsky
b9fae2b3d2
Bug 577838. The first line baseline of a fieldset should be the first line baseline of its legend (if it has one), or of its content if it does not. r=dbaron
2010-08-04 22:40:19 -04:00
David Zbarsky
de6582a359
Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst
2010-08-04 22:40:18 -04:00
Ehsan Akhgari
659cc9b4af
Bug 578604 - Crash [@ nsTextControlFrame::SetInitialChildList(nsIAtom*, nsFrameList&) ] when print preview; r=roc a=blocking2.0+
2010-08-04 22:13:57 -04:00
Kyle Huey
2a2801990e
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
2010-08-02 15:19:04 -07:00
Zack Weinberg
40a9b87efe
Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron
2010-08-04 12:27:05 -07:00
Zack Weinberg
d32d8b4b6e
Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron
2010-08-02 15:40:35 -07:00
Zack Weinberg
a6b8c9b603
Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron
2010-07-23 11:00:52 -07:00
Zack Weinberg
b8130b3679
Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron
2010-07-23 11:00:49 -07:00
Zack Weinberg
d16aea72e1
Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron
2010-07-23 11:00:47 -07:00
Zack Weinberg
39c4539636
Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron
2010-07-23 11:00:44 -07:00
Zack Weinberg
af2031e447
Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron
2010-07-23 11:00:42 -07:00
Zack Weinberg
bfd2ecb93e
Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron
2010-07-23 11:00:39 -07:00
Zack Weinberg
604c8c3c12
Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron
2010-07-23 11:00:37 -07:00
Zack Weinberg
6873de67ec
Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron
2010-07-23 11:00:34 -07:00
Zack Weinberg
b9547bdd5e
Bug 569719 part 7: Add AppendToString methods to nsCSSRect and friends as well, replacing Declaration::AppendStorageToString. r=dbaron
2010-07-23 11:00:29 -07:00
Zack Weinberg
b87b69a229
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Zack Weinberg
a0acc46ce4
Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron
2010-07-23 11:00:24 -07:00
Zack Weinberg
1e5ad912e8
Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron
2010-07-23 11:00:21 -07:00
Zack Weinberg
b2480f1b17
Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron
2010-07-23 11:00:19 -07:00