Граф коммитов

30926 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron 0e078f1e5e Check isValid, since bindings in chrome (e.g., Fennec select binding) can make it be false. (Bug 596767) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron b8f4f3b957 Drop native appearance when border-radius or -moz-border-start/end are set. (Bug 601366) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron b50fee0800 Give nsCSSFontFaceRule a copy-constructor that doesn't copy the reference count. (Bug 601437) r=bzbarsky a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
Jim Mathies ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) a0c018edfe Set vertical resize flags on the root's reflow state when we're doing SizeToContent reflows. (Bug 562955) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron da27e07995 Avoid early return from nsImageFrame::BuildDisplayList, so we don't go blank for some selection cases. (Bug 599368) r=tnikkel a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
L. David Baron cf6c15fafe Reflow floating ::first-letter before deciding where to place the float, since we need to reflow it to learn its width. (Bug 594303) r=roc a2.0=blocking:betaN 2010-10-06 21:25:47 -07:00
L. David Baron 1a88869651 When a frame is themed, report a border-radius of 0. (Bug 595652) r=roc a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron ab82b27916 Fix border-radius computed style code to reflect clamping adjustments that we make to border radius. (Bug 595651) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron aa9b2e9cd0 Fix border-radius computed style code to reflect that percentage Y values are percentages of the box height. (Bug 595650) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron 60d190d7b1 Add a selector hack so that we can implement table border styles compatibly in CSS. (Bug 539880) Test by Geoff Lankow <geoff@darktrojan.net>. r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron 13b4d14205 Add reftests for text-shadow and box-shadow not causing scrollable overflow. (Bug 542595, patch 24) (for bug 446693) a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron a6e4709cc9 Fix reftests that assume that text-shadow causes scrollbars. (Bug 542595, patch 23) (for bug 446693) 2010-10-06 21:25:47 -07:00
L. David Baron d2ebcde3e2 Mark two reftests that now pass as passing. (Bug 542595, patch 22) (fixes bug 593160) a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron 0ee664f25e Adjust known assertion counts for assertions that now happen for each overflow area. (Bug 542595, patch 21) a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron 4bb3a24d67 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron 3ac4e6a8d6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron 8e7449beb8 Fix all ReflowChildren methods in table code to avoid unnecessary NS_METHOD and NS_IMETHOD, and one that takes an overflow area to handle it correctly. (Bug 542595, patch 18) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron c05e892454 Make parameters to nsTableFrame::InvalidateFrame, nsTableFrame::PlaceChild, and nsTableRowGroupFrame::PlaceChild be the visual overflow rect. (Bug 542595, patch 17) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron c12d789823 Fix the way table cells consider overflowing collapsed borders for split overflow areas. (Bug 542595, patch 16) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron ce3ea31923 Now that overflow areas are split, change nsIFrame::ComputeTightBounds to use visual overflow. While it really only needs to include frame bounds, glyph bounds, and text decorations, since glyph bounds are not part of scrollable overflow, it must use visual overflow. (Bug 542595, patch 15) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron 07838fde81 Remaining nsBlockFrame changes for split overflow areas. (Bug 542595, patch 14) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 9edbe9835c Change nsBlockReflowContext::PlaceBlock for split overflow areas. (Bug 542595, patch 13) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron fc2cba6256 Split overflow areas for block frame float continuations. (Bug 542595, patch 12) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 13c422cb5c Compute nsBlockFrame.cpp's ComputeCombinedArea to split overflow areas. (Bug 542595, patch 11) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 00058e8a00 Compute nsBlockFrame::ComputeCombinedArea to split overflow areas. (Bug 542595, patch 10) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 1a16af6cf1 Convert nsBlockReflowState::mFloatCombinedArea and part of nsBlockFrame to split overflow areas. (Bug 542595, patch 9) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron d9f269b9f4 Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron c955f66f0b Make nsLineLayout track two separate overflow areas. (Bug 542595, patch 7) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 780106ba3f Make nsLineBox track two separate overflow areas. (Bug 542595, patch 6) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 8d793412ec Remove unused method nsLineBox::CombinedAreaIntersects. (Bug 542595, patch 5) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron dbaecaf061 Change FinishAndStoreOverflow API to take two overflow areas. (Bug 542595, patch 4) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 079e2b7014 Make ReflowOverflowContainerChildren handle split overflow areas. (Bug 542595, patch 3) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 7a3e597e6e Use split overflow areas in nsAbsoluteContainer::Reflow. Fixes overflow handling bug in nsPositionedInlineFrame where non-positioned overflow was ignored. (Bug 542595, patch 2) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron 1762465f24 Convert nsIFrame APIs from having a single overflow rect to having two distinct overflow rects. (Bug 542595, patch 1) r=roc sr=bzbarsky a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron c3cfc8bbd1 For elements that are in a document with a pres shell, always use that pres shell when getting computed style so we (a) return a more correct style and (b) don't mix rule nodes from two rule trees. (Bug 596245) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:44 -07:00
L. David Baron d0ee185948 When we set border-radius on <hr>, make the ends circular rather than elliptical. (Bug 597721) r=bzbarsky a2.0=blocking:betaN 2010-10-06 21:25:44 -07:00
Boris Zbarsky d466fd4499 Adjust assertion annotation to be Linux-specific. a2.0=bustage 2010-10-06 21:25:44 -07:00
Boris Zbarsky 699750caa6 Annotate this test as asserting, since it does, a=bustage 2010-10-07 00:04:39 -04:00
Boris Zbarsky 881a119d15 Bug 129941 followup. Continue creating scrollframes for native anonymous content. a=crashing tests 2010-10-06 22:21:58 -04:00
Boris Zbarsky aecb2578aa Bug 129941. Don't create scrollframes for blockframes (except inline blocks) while printing, and make such blockframes clip their contents instead. r=dbaron 2010-10-06 21:01:24 -04:00
Daniel Holbert 8b2f506f79 Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
Daniel Holbert 7f43de9a63 Bug 600574 part 1: Move nsStyleBackground::Layer::RenderingMightDependOnFrameSize to .cpp file. r=bz a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
Kyle Huey 451c7d63f4 Bug 600540: Disable raw video by default. r=cpearce a=beltzer
--HG--
extra : rebase_source : 0ddea9a76805d6d8da3328c368c8393111ab7790
2010-10-06 16:17:54 -04:00
Daniel Holbert 784168e2cc Bug 598798 patch 2: Create reftest directory for <svg:image> with more thorough tests. r=jwatt a=tests-only
--HG--
rename : layout/reftests/svg/image-fill-01.svg => layout/reftests/svg/image/image-fill-01.svg
rename : layout/reftests/svg/image-scaling-01.svg => layout/reftests/svg/image/image-scaling-01.svg
rename : layout/reftests/svg/image-scaling-02.svg => layout/reftests/svg/image/image-scaling-02.svg
2010-10-06 08:37:12 -07:00
Daniel Holbert e7e924a942 Bug 598798 patch 1: Rename SVG-as-an-image reftest directory. r=jwatt a=tests-only
--HG--
rename : layout/reftests/svg/image/background-image-rect-1png.html => layout/reftests/svg/as-image/background-image-rect-1png.html
rename : layout/reftests/svg/image/background-image-rect-1svg.html => layout/reftests/svg/as-image/background-image-rect-1svg.html
rename : layout/reftests/svg/image/background-image-rect-2.html => layout/reftests/svg/as-image/background-image-rect-2.html
rename : layout/reftests/svg/image/background-simple-1.html => layout/reftests/svg/as-image/background-simple-1.html
rename : layout/reftests/svg/image/background-simple-2.html => layout/reftests/svg/as-image/background-simple-2.html
rename : layout/reftests/svg/image/background-viewBox-1.html => layout/reftests/svg/as-image/background-viewBox-1.html
rename : layout/reftests/svg/image/border-image-simple-1.html => layout/reftests/svg/as-image/border-image-simple-1.html
rename : layout/reftests/svg/image/border-image-simple-2.html => layout/reftests/svg/as-image/border-image-simple-2.html
rename : layout/reftests/svg/image/content-outside-viewBox-1-helper.svg => layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg
rename : layout/reftests/svg/image/img-content-outside-viewBox-1-ref.html => layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html
rename : layout/reftests/svg/image/img-content-outside-viewBox-1.html => layout/reftests/svg/as-image/img-content-outside-viewBox-1.html
rename : layout/reftests/svg/image/img-dyn-1-ref.html => layout/reftests/svg/as-image/img-dyn-1-ref.html
rename : layout/reftests/svg/image/img-dyn-1.html => layout/reftests/svg/as-image/img-dyn-1.html
rename : layout/reftests/svg/image/img-height-meet-1-ref.html => layout/reftests/svg/as-image/img-height-meet-1-ref.html
rename : layout/reftests/svg/image/img-height-meet-1.html => layout/reftests/svg/as-image/img-height-meet-1.html
rename : layout/reftests/svg/image/img-height-meet-2-ref.html => layout/reftests/svg/as-image/img-height-meet-2-ref.html
rename : layout/reftests/svg/image/img-height-meet-2.html => layout/reftests/svg/as-image/img-height-meet-2.html
rename : layout/reftests/svg/image/img-height-slice-1-ref.html => layout/reftests/svg/as-image/img-height-slice-1-ref.html
rename : layout/reftests/svg/image/img-height-slice-1.html => layout/reftests/svg/as-image/img-height-slice-1.html
rename : layout/reftests/svg/image/img-height-slice-2-ref.html => layout/reftests/svg/as-image/img-height-slice-2-ref.html
rename : layout/reftests/svg/image/img-height-slice-2.html => layout/reftests/svg/as-image/img-height-slice-2.html
rename : layout/reftests/svg/image/img-simple-1.html => layout/reftests/svg/as-image/img-simple-1.html
rename : layout/reftests/svg/image/img-simple-2.html => layout/reftests/svg/as-image/img-simple-2.html
rename : layout/reftests/svg/image/img-simple-3.html => layout/reftests/svg/as-image/img-simple-3.html
rename : layout/reftests/svg/image/img-simple-4.html => layout/reftests/svg/as-image/img-simple-4.html
rename : layout/reftests/svg/image/img-simple-5.html => layout/reftests/svg/as-image/img-simple-5.html
rename : layout/reftests/svg/image/img-simple-6.html => layout/reftests/svg/as-image/img-simple-6.html
rename : layout/reftests/svg/image/img-simple-7.html => layout/reftests/svg/as-image/img-simple-7.html
rename : layout/reftests/svg/image/img-width-meet-1-ref.html => layout/reftests/svg/as-image/img-width-meet-1-ref.html
rename : layout/reftests/svg/image/img-width-meet-1.html => layout/reftests/svg/as-image/img-width-meet-1.html
rename : layout/reftests/svg/image/img-width-meet-2-ref.html => layout/reftests/svg/as-image/img-width-meet-2-ref.html
rename : layout/reftests/svg/image/img-width-meet-2.html => layout/reftests/svg/as-image/img-width-meet-2.html
rename : layout/reftests/svg/image/img-width-slice-1-ref.html => layout/reftests/svg/as-image/img-width-slice-1-ref.html
rename : layout/reftests/svg/image/img-width-slice-1.html => layout/reftests/svg/as-image/img-width-slice-1.html
rename : layout/reftests/svg/image/img-width-slice-2-ref.html => layout/reftests/svg/as-image/img-width-slice-2-ref.html
rename : layout/reftests/svg/image/img-width-slice-2.html => layout/reftests/svg/as-image/img-width-slice-2.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-1-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-1-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-2-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-2-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-meet-2.html => layout/reftests/svg/as-image/img-widthAndHeight-meet-2.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-1-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-2-ref.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-2-ref.html
rename : layout/reftests/svg/image/img-widthAndHeight-slice-2.html => layout/reftests/svg/as-image/img-widthAndHeight-slice-2.html
rename : layout/reftests/svg/image/lime100x100-noSVGDimensions.svg => layout/reftests/svg/as-image/lime100x100-noSVGDimensions.svg
rename : layout/reftests/svg/image/lime100x100-ref.html => layout/reftests/svg/as-image/lime100x100-ref.html
rename : layout/reftests/svg/image/lime100x100.png => layout/reftests/svg/as-image/lime100x100.png
rename : layout/reftests/svg/image/lime100x100.svg => layout/reftests/svg/as-image/lime100x100.svg
rename : layout/reftests/svg/image/lime200x100.svg => layout/reftests/svg/as-image/lime200x100.svg
rename : layout/reftests/svg/image/lime200x200.svg => layout/reftests/svg/as-image/lime200x200.svg
rename : layout/reftests/svg/image/limeInRed100x100-viewBox.svg => layout/reftests/svg/as-image/limeInRed100x100-viewBox.svg
rename : layout/reftests/svg/image/limeInRed100x100.png => layout/reftests/svg/as-image/limeInRed100x100.png
rename : layout/reftests/svg/image/limeInRed100x100.svg => layout/reftests/svg/as-image/limeInRed100x100.svg
rename : layout/reftests/svg/image/list-simple-1-ref.html => layout/reftests/svg/as-image/list-simple-1-ref.html
rename : layout/reftests/svg/image/list-simple-1.html => layout/reftests/svg/as-image/list-simple-1.html
rename : layout/reftests/svg/image/reftest.list => layout/reftests/svg/as-image/reftest.list
rename : layout/reftests/svg/image/squaredCircle-viewBox-noSize.svg => layout/reftests/svg/as-image/squaredCircle-viewBox-noSize.svg
rename : layout/reftests/svg/image/svg-image-util.css => layout/reftests/svg/as-image/svg-image-util.css
rename : layout/reftests/svg/image/svg-image-util.js => layout/reftests/svg/as-image/svg-image-util.js
rename : layout/reftests/svg/image/zoom/img-zoomIn-1.html => layout/reftests/svg/as-image/zoom/img-zoomIn-1.html
rename : layout/reftests/svg/image/zoom/img-zoomOut-1.html => layout/reftests/svg/as-image/zoom/img-zoomOut-1.html
rename : layout/reftests/svg/image/zoom/reftest.list => layout/reftests/svg/as-image/zoom/reftest.list
rename : layout/reftests/svg/image/zoom/squaredCircle-150x150-ref.html => layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html
rename : layout/reftests/svg/image/zoom/squaredCircle-50x50-ref.html => layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html
rename : layout/reftests/svg/image/zoom/squaredCircle.svg => layout/reftests/svg/as-image/zoom/squaredCircle.svg
2010-10-06 08:37:12 -07:00
Boris Zbarsky b13212c23b Fix silly error in test a=test-only 2010-10-04 12:56:48 -04:00
Oleg Romashin c46b19434f Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Mounir Lamouri 3bbc0f30ac Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Boris Zbarsky f7ad356889 Remove bogus JS that does nothing but throw from these reftests. a=test-only 2010-09-30 10:31:37 -04:00
Oleg Romashin 76d0ad6a14 Bug 599704 - mozilla.plugins.use_layers - does not have any effect. r=roc a=beta7 2010-09-29 20:32:55 -07:00