Commit Graph

8984 Commits

Author SHA1 Message Date
L. David Baron
06bd2147cd Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
(Note:  this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron
d79b3f75c2 Change storage of background-size and background-position to allow percentages and lengths. (Bug 594934) r=bzbarsky a=blocking2.0:betaN 2010-09-15 08:11:26 -07:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
c9ae92ec81 Fix hunk lost in merge. 2010-09-13 19:51:52 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Siddharth Agarwal
e6277ff20e Back out bug 588712 and bug 595337 due to leaks and test failures. a=orange 2010-09-14 23:04:50 +05:30
Ehsan Akhgari
f92191a290 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
137fc0d394 Bug 595577 - Cedar is busted after merging with m-c, (Bug 459144) conflict. r=dbaron 2010-09-11 19:22:33 -07:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Boris Zbarsky
2cecfc21ab Bug 589667 test. Make sure no one breaks my layout-debug again. r=ted, a=npob 2010-09-10 17:26:42 -04:00
Neil Rashbrook
deb54a6c9c Bug 586408 document.popup node doesn't work with nested popups (regression from bug 383930) r=Enn a=beltzner 2010-09-10 21:24:25 +01:00
Neil Rashbrook
81f51c150b Bug 588070 Tooltips shouldn't use cached mouse events r=Enn a=beltzner 2010-09-10 21:22:17 +01:00
Robert Longson
83b62023a0 Bug 590291. r=dholbert,a=blocking2.0 2010-09-10 20:58:48 +01:00
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Ben Turner
9d64943303 Bug 594583 - 'IndexedDB: Add some UI to clear IndexedDB databases'. r=sicking+gavin. a=beta6blocking. 2010-09-10 12:12:11 -07:00
Mounir Lamouri
634680ac7d Bug 582277 - Default style for :-moz-submit-invalid pseudo-class. r+a=dbaron 2010-09-10 20:40:49 +02:00
Daniel Holbert
2aa15ae3ce Bug 594941: Handle imgIContainer::GetHeight/GetWidth failure in DrawBorderImage. r=roc a=roc 2010-09-10 10:42:57 -07:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Mounir Lamouri
c509a433c2 Bug 580575 - Implement :-moz-submit-invalid pseudo-class applying on submit buttons when the form is invalid. r=bz sr=sicking a2.0=roc 2010-09-10 07:08:56 +02:00
Doug Turner
6ed1c44d56 Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Ehsan Akhgari
5cdc7ae6dd Bug 422179 - Part 3: Disable a reftest which fails because of bilinear filtering; r=jrmuizelaar a=NPOTB 2010-09-09 16:27:17 -04:00
Felipe Corrêa da Silva Sanches
b290b3c8a6 Bug 421473: Move tests from layout/reftests/svg/bugs to layout/svg/crashtests. r=dholbert a=tests-only
--HG--
rename : layout/reftests/svg/bugs/bug314244.xul => layout/svg/crashtests/314244-1.xul
rename : layout/reftests/svg/bugs/bug327709.svg => layout/svg/crashtests/327709-1.svg
rename : layout/reftests/svg/bugs/bug337408.xul => layout/svg/crashtests/337408-1.xul
rename : layout/reftests/svg/bugs/bug367368.xhtml => layout/svg/crashtests/367368-1.xhtml
2010-09-09 15:49:41 -04:00
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07:00
L. David Baron
a0ab32f306 Add aliases for old names of border-radius properties. (Bug 451134) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:48 -07:00
Zack Weinberg
b8aabe9d10 Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6 2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
df6e839771 Add reftests for clipping to the border-radius curve. (Bug 459144, Bug 485501) a2.0=blocking2.0:beta6 2010-09-09 08:21:47 -07:00
L. David Baron
d99ac32acf Clip replaced elements (for now, images, canvases, videos, and windowless plugins) to the border radius. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:47 -07:00
L. David Baron
d44b4ee882 Clip contents of elements with overflow != visible to the border radius. (Bug 459144, patch 14) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
a9d5fab154 Add a (wrapping) display item that clips its contents to the curvature of a border-radius. (Bug 459144, patch 13) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
27b2504e3c Make nsIFrame::DisplaySelectionOverlay take an nsDisplayList* instead of nsDisplayListSet&. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
4113d6f1f9 Remove unneeded nsAbsPosClipWrapper::mContainer. (Bug 459144, patch 12) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
cec33102e4 Remove unneeded nsDisplayClip::mClippingFrame. (Bug 459144, patch 11) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
4c8a8b3d3d Add an invalid-value test for text-shadow that we already have for -moz-box-shadow. a2.0=tests 2010-09-09 08:21:46 -07:00
L. David Baron
7d8d7e59ed Fix missing computation half of calc() for border-*-width. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
e06e2d58f5 Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
7a6fa51b18 Negative values for stroke-dasharray should be rejected. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
f9bc2d9cef Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
af2f9eff65 Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
8aaf22a0f4 Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:45 -07:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Boris Zbarsky
aac4d32fca Bug 593544 followup. Don't force legends to display:block for now. r+a=orange 2010-09-07 15:54:32 -04:00
Bas Schouten
3bc982c749 Bug 594624 - Reftest: Ensure content type switches are supported. r=roc 2010-09-12 21:38:14 +02:00
Josh Matthews
37d6567b57 Backed out changeset ec2ffd935bd9 a=test-bustage 2010-09-11 21:04:09 -04:00
Josh Matthews
3576dc896d Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
--HG--
extra : rebase_source : 1455dfbf13b66ac58cd2a66514c88adc76ff1a6c
2010-09-11 19:21:48 -04:00
Timothy Nikkel
6b532c4152 Bug 594271. Don't send synth mouse moves to hidden documents. r=dbaron a=dbaron 2010-09-11 13:24:50 -05:00
Timothy Nikkel
5be08ac8ee Bug 594267. Don't call WillPaint on hidden documents. r=bzbarsky a=roc 2010-09-11 13:24:50 -05:00
Timothy Nikkel
bb07e18e5b Bug 594267. Get rid of hack to determine if a document is visible now that chrome and content view managers are linked. r=roc a=roc 2010-09-11 13:24:50 -05:00
Timothy Nikkel
9e47257ea3 Bug 593286. Use the frame/view system to determine parent documents, not the docshell because the docshell hierarchy doesn't stay intact during page tranisition. r=roc a=blocking final 2010-09-11 13:24:50 -05:00
Timothy Nikkel
ba86230db3 Bug 592596. When we thaw a presshell, unsuppress painting after we update our active status. r=bzbarsky a=roc 2010-09-11 13:24:49 -05:00
Timothy Nikkel
64df346e92 Bug 593892. Draw the previous page if the new page is suppressed. r=roc a=roc 2010-09-11 13:24:49 -05:00
L. David Baron
344df4887f Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
L. David Baron
ced73624ca Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
L. David Baron
5859a14a99 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
fa356d0a17 Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
L. David Baron
7476de1256 Change blur radii in themes and in some tests to match change in how we interpret text-shadow and -moz-box-shadow blur radii. (Bug 590039) r=dao a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
L. David Baron
38c6bf9401 Backed out changeset 2e55203d7b80 to fix orange (test_bug508115.xul timing out). 2010-09-13 20:44:17 -07:00
Jonas Sicking
b6ae0cb58a Bug 591198 - Don't make elements disappear if XBL bindings fail due to security restrictions. r=jst a2.0=blocking 2010-09-14 02:22:06 +02:00
Boris Zbarsky
4753f55125 Bug 593544. Apply first-letter to legends. r=dbaron a=dbaron 2010-09-07 15:10:42 -04:00
Boris Zbarsky
4ccf0e4b31 Bug 593552. If our parent document has no presshell, just fall back to a separate refresh driver instead of trying to dig around for a presshell by other means. r=roc a=dbaron 2010-09-07 15:10:41 -04:00
Chris Jones
e817f48db6 Bug 593506: Fix tests broken by bad patch update. r=roc 2010-09-04 15:46:34 -05:00
Chris Jones
9f06f05e6d Bug 590294: Test app that uses new viewport and displayport APIs. 2010-09-03 15:10:46 -05:00
Chris Jones
a107db4800 Bug 590294, part 10: Implement <browser>-configured viewport drawing for shadow layers. r=tn 2010-09-03 15:10:46 -05:00
Chris Jones
29a74cf7e8 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones
3d571692f4 Bug 590294, part 6: Add a window.setResolution(xres, yres) API to control the number of backing pixels allocated to scalable content. r=roc sr=dbaron 2010-09-03 15:10:46 -05:00
Chris Jones
26466ba198 Bug 590294, part 5: Add a setDisplayPort() API to allow the frontend (or whatever else) to set an arbitrary visible region for the purposes of invalidation and layer retaining. r=roc sr=dbaron 2010-09-03 15:10:46 -05:00
Chris Jones
23f5ee4db4 Bug 590294, part 4: IGNORE_VIEWPORT_SCROLLING currently implies interpreting the visible region as being relative to document space. Displayport rendering wants everything IGNORE_VIEWPORT_SCROLLING implies, except it wants the visible region to be relative to the viewport. So, split the coordinate-space interpretation into a new flag DOCUMENT_RELATIVE, which interprets the visible region as document-relative. r=tn sr=roc 2010-09-03 15:10:46 -05:00
Chris Jones
c3e279df85 Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc 2010-09-03 15:10:45 -05:00
Chris Jones
6c7c82837a Bug 590294, part -1: Clip <browser> shadow layers properly. r=tn 2010-09-03 15:10:45 -05:00
Chris Jones
6e7a7cd71a Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Joe Drew
8195bd8837 Bug 590844 - Add layersGPUAccelerated to the reftest sandbox when we're using accelerated layers. r=dbaron a=blocking2.0:beta6+ 2010-09-03 14:02:23 -04:00
Mats Palmgren
76f0893448 Backing out bug 449734 due to unexpected orange. a=ted 2010-09-03 18:13:49 +02:00
Mats Palmgren
d234af154c Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-03 16:22:00 +02:00
Robert O'Callahan
3fca632d0f Disable abspos tests when D2D is enabled. With changeset c888cdffd617, glyphs get rasterized slightly differently. a=me 2010-09-04 00:27:19 +12:00
Robert O'Callahan
b8344596c8 Backed out changeset b92757b90f6f 2010-09-04 00:25:33 +12:00
Jonathan Kew
9abb1bbb24 disable failing win7 reftest, see bug 593330. r=developers a=orange-test 2010-09-03 13:10:45 +01:00
Timothy Nikkel
d4615fd0e6 Bug 593262. The stop/reload button is chasing me. Keep running from it. r=roc a=fix a test
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 00:43:26 -05:00
Robert O'Callahan
b2b43745af 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
ec75a459d4 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
bd90f73745 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
0356f8659e 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
ad566be621 Bug 579276. Part 4: Move nsDisplayItem parameter down to ThebesLayerData::Accumulate. r=tnikkel 2010-09-02 21:18:39 +12:00
Robert O'Callahan
cfc08eb0c7 Bug 579276. Part 8: Bump scroll timeout up a lot. r=tnikkel 2010-09-02 21:18:39 +12:00
Robert O'Callahan
0f5f9e5391 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
a150e0aa96 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
Ehsan Akhgari
7b654288bf Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Oleg Romashin
bd3aa71c63 Merged m-c: 51d17027ff45 -> cedar 2010-09-01 09:36:29 -07:00
Mounir Lamouri
10322e00af Bug 36619 - Add a test checking that we can call .click() to show the filepicker if the originating element is a regular click (thus passing the popup blocker check). r=sicking a2.0=blocking 2010-09-01 08:09:28 +02:00
Ehsan Akhgari
666a59371c Back out bug 594774 because of reftest failures and crashtest assertions 2010-09-15 12:28:29 -04:00
Robert O'Callahan
5fc84d7803 Bug 594774. Detect DOM changes during painting, and abort painting ASAP when that happens. r=dbaron a=blocking-beta6+ 2010-09-15 11:30:00 -04:00
Neil Deakin
43da4cf629 Bug 566154 - text missing from preferences font size pulldown.; f=neil r=neil a=blocking-betaN+ 2010-09-15 11:25:08 -04:00
Simon Montagu
73b323bd97 Don't include floats in bidi resolution and reordering, unless they are first-letters. Bug 588739, r+a=roc 2010-09-06 17:33:18 +03:00
Simon Montagu
9e0c0d8d9c Tests for bug 588739 2010-09-06 17:32:01 +03:00
Robert O'Callahan
bb8f6b43fb Fixing test for D2D, a=fixing-test 2010-09-06 21:11:54 +12:00
Neil Deakin
b753ff6479 Bug 558072. Allow getting of popup position and size from popupshowing event. r=roc,a=blocking
--HG--
extra : rebase_source : 0589fbc0410548f8f7ee748d59e70721c5fcc29b
2010-09-06 15:30:17 +12:00
Robert O'Callahan
243921c92a Bug 584703. Compute XUL listbox contents overlow area correctly. r=enndeakin
--HG--
extra : rebase_source : a5c20c7ad240643a734a3e0f27c5357adc13c9ae
2010-09-06 15:23:44 +12:00
Markus Stange
df248c791c Bug 591141. Protect against null pattern. r=roc
--HG--
extra : rebase_source : 51658e6b24a3c2b7857e44ab5880d240aacd8115
2010-09-06 15:12:46 +12:00
Robert O'Callahan
e10bc1e1f7 Bug 584699. Invalidate ThebesLayers in abs-pos frame subtree that's moved. r=dbaron
--HG--
extra : rebase_source : 06dd1df6b08d331b38ee8a9edbf6ce07e7841c25
2010-09-06 15:04:36 +12:00
Timothy Nikkel
76dc65dff9 Bug 592405. Printing view manager shouldn't be hooked into screen view manager. r=roc a=blocking final 2010-09-05 14:21:56 -05:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -04:00
Robert O'Callahan
de34f39b12 Bug 593275 part 2 - Dynamically recompute drawWindow flags, in case our window is asynchronously resized on us. r=dbaron a=blocking2.0:beta6+ 2010-09-04 23:39:35 -04:00
Robert O'Callahan
6732099e5a Bug 593275. Take reftest snapshots by painting the toplevel window. r=dbaron a=blocking2.0:beta6+ 2010-09-04 23:39:32 -04:00
Vladimir Vukicevic
7f9d2b6e9e Bug 591155 - Disable an additional test that has shown up as failing with no visual difference. r=joe a=blocking2.0:beta6+ 2010-09-04 23:32:39 -04:00
Wes
6636ae63a1 Bug 591626 - :-moz-placeholder is now implemented, uncomment corresponding theme code. r=dao
--HG--
extra : rebase_source : 1e21926933b6ebbd247452e0e5e2a2df866896e5
2010-08-31 21:28:41 +02:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Robert O'Callahan
b10df1641d Bug 592131. Don't propagate invalidations across document boundaries where the child document's docshell is inactive (e.g., a hidden tab). r=tnikkel,a=blocking
--HG--
extra : rebase_source : 468f5fab9b2a50f515d50e147fb79bdb8d6a845c
2010-08-31 17:02:08 +12:00
Robert O'Callahan
ded033638a Bug 579323. Part 2: Actually fix the bug by calling InvalidateThebesLayersInSubtree from nsIFrame::Redraw. r=dbaron,a=blocking 2010-08-31 12:49:13 +12:00
Robert O'Callahan
3815d31b6e Bug 579323. Part 3: Fix invalidation of lines to update layers as necessary. r=dbaron
--HG--
extra : rebase_source : 6a043bda5f16f9a257fa4bfa272d8362facef4c2
2010-08-31 12:49:13 +12:00
Robert O'Callahan
c7acef03ff Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
Robert O'Callahan
bc09a0496e Bug 579323. Part 1.6: Clean up dead code, rename nsFrameFrame to nsSubDocumentFrame. r=tnikkel
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : af240f2cb12b94e544031a5860fca1a9fb1217e0
2010-08-31 12:49:11 +12:00
Robert O'Callahan
f6aa05c375 Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel
--HG--
extra : rebase_source : de526602586c70b994a061bbb8a7ca2731c72bbd
2010-08-31 12:49:07 +12:00
Robert O'Callahan
b6e97790b6 Bug 579323. Part 1.2: Move nsSubDocumentFrame header to its own file. r=tnikkel
--HG--
extra : rebase_source : ff6c4109473783acea363ac05f9686034b949ecd
2010-08-31 12:46:26 +12:00
Robert O'Callahan
f566520efb Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +12:00
Phil Ringnalda
36c32fcb31 Bug 581592 - allow for a couple of asserts in size-change-1.html on Mac, r=dbaron, a=orange
--HG--
extra : rebase_source : 6d7ab1eeb272786e75fa57521d3a5c0f698fb88e
2010-08-29 21:51:56 -07:00
Olli Pettay
37754ca52c Bug 585173 - Process message manager. r=dougt a=blocking-fennec 2010-08-31 11:58:35 -07:00
Timothy Nikkel
75dd64b1bf Bug 591657. nsWeakFrame needs a copy constructor because the default one does not hook into the presshell. r=smaug,dbaron a=dbaron,blocking beta5+ 2010-08-30 13:37:55 -05:00
Joe Drew
8e97cca901 Back out roc's reftest patch, a=bustage 2010-09-04 00:32:56 -04:00
Joe Drew
2fbfe063c1 Back out roc's reftest patch, which broke reftests on non-accelerated layer managers. 2010-09-04 00:32:36 -04:00
Robert O'Callahan
1193fc52e4 Bug 593275. Take reftest snapshots by painting the toplevel window. r=dbaron 2010-09-03 23:21:14 -04:00
Jonas Sicking
21b686ea6a Bug 590870: Allow mochitest domains that don't support XUL/XBL. r=ted a=test-only 2010-09-03 15:53:28 -07:00
Joe Drew
394383312c Bug 590844. reftest: fix the condition setting layersGPUAccelerated. r=vlad, a=b
Frig. I accidentally reversed the condition here.
2010-09-03 17:15:10 -04:00
Robert O'Callahan
41073d6e5b 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
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
Simon Montagu
4a94bec7a8 test for bug 595435, a=test 2010-11-08 12:27:42 +02:00
Simon Montagu
9c81a220df Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker 2010-11-08 12:27:42 +02:00
Simon Montagu
8712b63960 Update Unicode data files to version 6.0. Bug 606917, r=emk, a=bsmedberg 2010-11-08 12:27:41 +02:00
Robert O'Callahan
669ff953e8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Jonathan Kew
a60f173824 Bug 548964 fix antialiasing problem of D2D r=masayuki, a=test-change-only 2010-11-08 15:41:32 +09:00
Frédéric Wang
2b9596c050 add private data integral (bug 534970) a=npotb 2010-11-08 09:34:44 +13:00
Frédéric Wang
e2d2f347d5 Add a perl script to compare MathML operator dictionaries and check validity of our private data (bug 534970) 2010-11-08 09:32:54 +13:00
Mats Palmgren
5618586055 Bug 605928 - Repaint issue after detaching/reattaching a tab that contains Flash video. r=roc a=blocking2.0:betaN 2010-11-07 18:27:46 +01:00
Mats Palmgren
0967da1c99 Bug 576890 - Crash [@ nsFrameList::InsertFrames] on print preview. r=roc a=blocking2.0:final 2010-11-07 18:27:46 +01:00
Simon Montagu
8a8471a46a Backout changeset 06ec9fa89d20 due to test failures, a=backout 2010-11-07 13:10:48 +02:00
Simon Montagu
6f2830fb64 Backout changeset 1dad59de62c4 due to test failures 2010-11-07 13:09:03 +02:00
Simon Montagu
de203d9c8f Backout changeset 8cbe83542596 due to test failures 2010-11-07 13:06:39 +02:00
Simon Montagu
0402bb367c Update Unicode data files to version 6.0. Bug 606917, r=emk, a=bsmedberg 2010-11-07 11:56:26 +02:00
Simon Montagu
00a68f9ce0 Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker 2010-11-07 11:56:25 +02:00
Simon Montagu
10fda50e6f test for bug 595435, a=test 2010-11-07 11:56:25 +02:00
Mike Hommey
02580b0987 Bug 569629 - Initialize nsIPresShell::gCaptureInfo without a constructor. r=roc,a=bsmedberg 2010-11-07 09:25:39 +01:00
Jesse Ruderman
82a5021e59 Bug 598859 - annotate crashtest 379105-1.xhtml as asserting (due to bug 570215 and/or bug 479160). a=NPOTB 2010-11-06 14:53:33 -07:00
Jesse Ruderman
c390d8bb40 Bug 590291 - add crashtest 2010-11-06 13:30:32 -07:00
Jesse Ruderman
b813926f1a Bug 583957 - add crashtest 2010-11-06 13:30:32 -07:00
Jesse Ruderman
dabf49fff3 Bug 538062 - add crashtest 2010-11-06 13:30:32 -07:00
Daniel Holbert
aeccfd6caa Bug 594198: In SMIL animation of length-valued attributes/properties, allow interpolation between 0 values and unitless values. r=birtles a=blocking-final+
--HG--
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-by-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-from-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-1-to-no-no.svg
rename : layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-px-px.svg => layout/reftests/svg/smil/style/anim-css-strokewidth-4-from-by-no-no.svg
2010-11-06 12:13:01 -07:00
Takeshi KUROSAWA
ad7c59bcab Bug 595209 patch 2 - reftest r=longsonr,roc 2010-10-29 08:18:06 +01:00
Robert Longson
86facd52c1 Bug 595209 patch 1 - stroke scales badly with positioned glyphs r=roc,a=blocking-final+ 2010-10-29 08:18:03 +01:00
Robert Longson
785fa4398d Bug 608653 - lacuna pattern width/height should be zero r+a=roc 2010-11-03 22:35:00 +00:00
Robert Longson
5f4593ff3d Bug 603584 - feDisplacementMap does not always create output in correct colour space r+a=roc 2010-10-26 09:23:41 +01:00
Robert Longson
0b5ec4c833 Bug 605626 - Prevent assertion when displaying an image that has no width or height r=dholbert a=roc 2010-10-26 09:19:31 +01:00
Markus Stange
a3b55cfdbd Bug 587585 - Allow SVG effects on anonymous XBL elements to refer to elements in the bound document if the binding lives in different document, and don't attempt to start an external resource load in that case. r=bz, a=beta8 2010-11-05 17:01:17 +01:00
Markus Stange
f6193ef3ca Bug 586954 - Set a proper clip region so that PushGroup doesn't allocate a giant surface. This speeds up drawing of masked non-SVG elements. r+a=roc 2010-11-05 17:01:17 +01:00
Ms2ger
6f999474e8 Bug 589623 - Raise INVALID_STATE_ERR exceptions from Selection.collapseTo{Start|End}; r+a=jst 2010-11-06 10:40:13 +01:00
Ms2ger
540c59a0a3 Bug 589621 - Throw the correct exception for Selection.getRangeAt called with out-of-bounds values; r=sicking a=bsmedberg 2010-11-06 10:40:04 +01:00
Masayuki Nakano
d16a1c374e Bug 591890 focus() method should be able to steal focus when it's called from mousedown event handler r=enndeakin, a=betaN+ 2010-11-06 14:04:11 +09:00
Alexander Surkov
aad2bab723 Bug 606082 - update accessible tree when root element is changed, r=marcoz, davidb, bz, a=blocking 2010-11-06 12:11:08 +08:00
timeless@mozdev.org
83e320229c Bug 604631: nsPrintEngine::SetupToPrintContent() leaks docTitleStr and docURLStr if mIsCreatingPrintPreview & !seqFrame. r=dholbert a=bsmedberg 2010-11-05 11:24:12 -07:00
Robert Longson
0201c82775 Bug 484953 - speed up display of text that is both stroked and filled r+a=roc 2010-11-02 05:40:30 +00: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
Jonathan Kew
c8bb8de65f bug 603879 - reftest for opentype arabic shaping with @font-face. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Daniel Holbert
0cba8fe605 Bug 605420: Adjust dirtyRect to the right coordinate system when drawing for the SVG <image> element. r=longsonr a=blocking-final 2010-10-22 09:52:41 -07:00
L. David Baron
537092149e Add bug number for test failure. 2010-10-21 20:37:49 -07:00
L. David Baron
df741b5a69 Backout changeset d9e4dfc7ebdc (debugging code for test failure). a=roc a2.0=roc 2010-10-21 20:37:49 -07:00
Timothy Nikkel
a1e2c43c08 Bug 593491. Change the initial iframe URI to try to distinguish what is going on. a=test-only 2010-10-21 19:58:11 -05:00
Jim Mathies
b7e880d194 Bug 605023 - Prevent nsChromeRegistry::ReloadChrome() from hiding top level widgets on windows. r=bz, a=betaN 2010-10-21 16:59:26 -05:00
Jesse Ruderman
9842c1373e Test for bug 605340. a=test 2010-10-21 17:30:35 +02:00
Mats Palmgren
1c532ecf30 Make sure mLastFlowIndex is within bounds after truncating the mapped flow count. b=605340 r+a=roc 2010-10-21 17:30:35 +02:00
Jesse Ruderman
1bb856104f Test for bug 604843. a=test 2010-10-21 17:30:35 +02:00
Mats Palmgren
a1abfe5921 Only keep the old textrun when the frame continuations from the assignment point forward are all empty. b=604843 r=roc a=blocking2.0:final 2010-10-21 17:30:34 +02:00
Vivien Nicolas
12caa58a5e Bug 461843 - Show indication of where on the page you are when scrolling with Fennec. r=roc a=blocking-fennec 2010-10-21 14:07:55 +02:00
Mounir Lamouri
eb0b89befa Bug 604737 - nsHTMLFieldSetElement::RemoveChildAt should update mFirstLegend. r=smaug a=blocking 2010-10-21 13:11:01 +02:00
Alexander Surkov
b049d3e67a Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking 2010-10-21 13:16:10 +09:00
Boris Zbarsky
e2698f473c Bug 605689. Copy mUnknownProperty correctly. r=dbaron, a=blocker 2010-10-20 20:24:16 -04:00
Boris Zbarsky
c54cf4b5bd Bug 594808. If the given range is detached, don't try to work with its start/end containers. r=sicking 2010-10-20 20:24:15 -04:00
Ehsan Akhgari
7c73e783f7 Bug 604314 - "ASSERTION: unexpected disconnected nodes"; r,a=roc
--HG--
extra : rebase_source : be7c85abe0c8c84c5663a871ee831863c4823bad
2010-10-18 23:24:39 -04:00
Simon Montagu
7bbc1471b0 Tests for bug 579655, a=test 2010-10-20 18:18:04 +02:00
Simon Montagu
4b5b6bb092 Tests for bug 600974 2010-10-20 09:11:15 -07:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri
2b014a77e8 Bug 595036 (1/2) - Update nsIXTFElementWrapper and inIDOMUtils API to use a PRUint64 value for intrinsic states. r+a=bz 2010-10-20 09:41:35 +02:00
Mounir Lamouri
02ab19880a Bug 604056 - nsIDocumentObserver methods should be declared with a macro. r+a=bz 2010-10-20 09:41:05 +02:00
Brian Birtles
10f01ea364 Fix bustage from bug 579828, disable failing test, a=bustage 2010-10-20 10:12:57 +09:00
Brian Birtles
c9ec008e48 Bug 579828 - SVG SMIL: Trim, don't prune invalid active intervals; r=dholbert; a=roc 2010-10-20 08:55:09 +09:00
Brian Birtles
a28984a98a Bug 590425 part 2 - SVG SMIL: Make nsPresShell's interaction with the animation controller account for deferred sampling; r=dholbert; a=roc 2010-10-20 08:53:52 +09:00
Daniel Holbert
27e28e68bf Bug 604723: Multiply onto (instead of replacing) our gfxContext matrix when painting SVG images. r=longsonr a=blocking 2010-10-19 13:48:02 -07:00
Robert Longson
5c344c53d9 Bug 599798 - Fix viewBox on pattern with patternContentUnits=objectBoundingBox r+a=roc 2010-10-18 23:08:52 +01:00
Ben Turner
9576024ca0 Bug 596377 - 'IndexedDB: Move usage and clearing IO off the main thread'. r=sicking. 2010-10-19 10:58:33 -07:00
Felipe Gomes
c1ad5cb316 Bug 601603. Part 5 - Ensure that the layer that holds the window background is never opaque for glass windows. r=roc a=beta8 2010-10-19 15:02:25 -02:00
Dan Witte
9a433ac962 Bug 595305 - Factor cookie third-party URI code into separate API. r=bent, a=betaN+ 2010-10-19 09:37:03 -07:00
Michal Novotny
ac7049477a Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Mounir Lamouri
88788a3064 Bug 553097 - Do not create a frame and DOM node for placeholder if not needed. r=ehsan,roc a=blocking 2010-10-19 15:11:07 +02:00
Olli Pettay
c3253c9c69 Bug 603550 - No longer auto-capturing mouse move events on the content window / dragging an jQuery UI draggable element does not work correctly when mouse moves outside the window, r=roc, a=blocking
--HG--
extra : rebase_source : ff1b042f7b27a67ca8cbe2b479d5b653a319e84d
2010-10-19 10:46:31 +03:00
Timothy B. Terriberry
5e63566740 Bug 511348 - Integrate Tremor for Vorbis decoding for non/slow-FPU platforms. build changes. r=kyle a=blocking-fennec
--HG--
extra : rebase_source : 8a2b26f2150a440a2e289ddc94d9c3bfe6e23bbf
2010-10-18 19:56:01 -07:00
Boris Zbarsky
c27f01b21f Bug 605157. Style linking elements should work in XML when set via innerHTML. r=sicking, a=blocker 2010-10-18 23:45:34 -04:00
Jesse Ruderman
4014f9d88d Bug 540980 - try to make crashtest 143862-1 more deterministic; make 3 versions of it 2010-10-18 14:06:31 -07:00
L. David Baron
49f1f3b4d7 Accept PR_INT32_MIN as an integer in CSS. (Bug 602890) r=bzbarsky a2.0=roc 2010-10-17 19:36:26 -07:00
L. David Baron
f4f59f1261 Don't hit assertion when calling getPropertyPriority on unknown property. (Bug 601439) r=bzbarsky a2.0=dbaron 2010-10-17 19:36:26 -07:00
L. David Baron
6073fb4dd6 Fix double-subtraction of opposite margin when one of margin-top/bottom is auto, for absolutely positioned elements. (Bug 604212) r=bzbarsky a2.0=roc 2010-10-17 19:36:26 -07:00
L. David Baron
31c6f32c38 Remove ancient bustage fix that was only needed for Mac OS X versions we no longer support (10.1, I think). a2.0=dbaron 2010-10-17 19:36:24 -07:00
Takeshi KUROSAWA
c6fb9a1749 Bug 599798 - Make rotate attribute of SVG text live. r=longsonr a=roc 2010-10-17 17:27:49 +01:00
Robert Longson
4212366871 Bug 468035 - turn off optional ligatures when drawing textPaths or positioned glyphs r+a=roc 2010-10-17 17:27:48 +01:00
Jesse Ruderman
d24c6d7e81 Bug 603510 - add crashtest. a=NPOTB 2010-10-15 13:44:38 -07:00
Jesse Ruderman
3eea1d636c Bug 603490 - add crashtest 2010-10-15 13:44:38 -07:00
Olli Pettay
309638f46c Bug 582771 - Drag & drop email to folder fails in hotmail, r=enndeakin, a=blocking
--HG--
extra : rebase_source : 8598c6764c820388cffd82d68a851ce33d628b1b
2010-10-15 19:41:02 +03:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Alexander Surkov
c4be35e55b Bug 604587 - bullets of nested not ordered lists have one and the same character, r=davidb, sr=roc, a=roc 2010-10-16 00:34:24 +09:00
Ehsan Akhgari
cc3a98796c Bug 602130 - Caret positioned incorrectly in input[type=text] when hidden and redisplayed; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 673601ada34f5d1eefc61303f7420dd74363e2b3
2010-10-14 15:36:35 -04:00
Jim Mathies
58dc114a88 Bug 574690 - Doc viewer should not call show on top level widgets, r=roc, a=blockingbeta. 2010-10-15 08:52:29 -05:00
Markus Stange
bb031a86dd Bug 595156 - Always use BasicLayerManager when drawing in the titlebar. r=roc a=blocking2.0:betaN
--HG--
extra : rebase_source : 9183b1a0d74f3b0538508048b98f41188c6f6ac8
2010-10-15 12:34:29 +02:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Mats Palmgren
4596c2cb71 Bug 571995. r=roc a=blocking2.0:final 2010-10-15 06:03:33 +02:00
Josh Aas
56b9a7c78d Bug 599391: Re-enable "505912-1.html" on Mac OS X. a=test 2010-10-14 22:10:50 -04:00