Commit Graph

54911 Commits

Author SHA1 Message Date
L. David Baron
d94584cd11 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
8bb7865fe4 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
29815e0d2c 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
3be0976384 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
b9624214a1 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
e997e1db93 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
2b00d08685 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
a56a24a514 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
40d60928c6 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
08c54cb878 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
60e0eec2b0 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
ce12d2bcea 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
bf7624301d 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
501b36b2c2 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
972bf93064 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
21464c8326 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
b26661f697 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
bb2c9bd999 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
b401e8f1d5 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
dfd177a552 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
03966a7c79 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
178a968ed2 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
b7c46f2dc7 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
d86ede8347 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
70196364ee 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
af38a36244 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
9cc9011dcd 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
ec7fc3ab6f 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
b7ba7ece96 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
188de910ba Adjust assertion annotation to be Linux-specific. a2.0=bustage 2010-10-06 21:25:44 -07:00
Boris Zbarsky
9da45048dd Annotate this test as asserting, since it does, a=bustage 2010-10-07 00:04:39 -04:00
Boris Zbarsky
a6899e1701 Fix this test to deal better with float rounding issues. Followup to bug 587106, a=bustage 2010-10-06 23:41:34 -04:00
Boris Zbarsky
7b56db1ca0 Followup for bug 587106. Update test to the new syntax. a=bustage 2010-10-06 22:40:41 -04:00
Boris Zbarsky
a7d2e54c98 Bug 129941 followup. Continue creating scrollframes for native anonymous content. a=crashing tests 2010-10-06 22:21:58 -04:00
Timothy Nikkel
8c0e7733d7 Merge back out of changeset d7b6ab26d39e (bug 601547). a=backout 2010-10-06 20:42:44 -05:00
Timothy Nikkel
6507faf74e Backed out changeset d7b6ab26d39e (bug 601547). 2010-10-06 20:42:21 -05:00
Boris Zbarsky
22c696308a Bug 587106. Make the alpha value of strokeStyle and company correct even for small alpha values. r=vlad, a=vlad 2010-10-06 21:01:37 -04:00
Boris Zbarsky
280f2c88c6 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
Boris Zbarsky
93621c6cad Bug 599587. If we don't plan to cache the stringbuffer, assign it to the output string. r=smaug 2010-10-06 21:01:24 -04:00
Chris Jones
b9c731f6ce Bug 602393: Fix idiotic mistake causing JITs to be blacklisted on all android devices. r=dvander a=blocking-fennec-b1+ 2010-10-06 19:39:19 -05:00
L. David Baron
1f3fa6c875 Change checkComplete in test_referer.html to check whether all tests are complete, rather than just the last. (Bug 600458) r=doublec a=test-fix 2010-10-07 12:35:59 +13:00
Chris Pearce
4fb016a01e Bug 598140 - Set media curentTime correctly after seek when sound is disabled. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
async.processingjs@yahoo.com
9dc4c9e5c2 Bug 520100 - libsydneyaudio MacOS fix, counts amount of missed audio sample bytes. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
442cac0140 Bug 600455 - Fix index in indexed ogg file. r=test-fix 2010-10-07 11:58:36 +13:00
Chris Pearce
43d505f1f4 Bug 584068 - Don't consider our canplaythrough status on live streams when moving out of buffering state. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
async.processingjs@yahoo.com
23de2accd2 Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
5d3d0ac73d Bug 505158 - Handle multiple error events from multiple source children in video controls. r=dolske a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
903c5bab83 Bug 505158 - Handle invalid media in video element's source children. r=roc a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce
9e4234dc37 Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Timothy Nikkel
240bd15908 Bug 601547. Dispatch starved paints on the top level window too, not just child windows. r=jimm a=b7,vlad 2010-10-06 14:42:16 -05:00