Commit Graph

1917 Commits

Author SHA1 Message Date
Martijn Wargers
f52fae3f77 Bug 675711 - test_computed_style.html fails partly on Fennec because of lack of scrollbars. r=dbaron, a=test-only 2011-08-04 14:10:27 -04:00
Matt Woodrow
c296cab4d8 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Honza Bambas
de967ceeda Bug 675616 - Change usage of localhost:8888 to mochi.test:8888 in test_css_cross_domain.html, r=zwol 2011-08-03 23:36:49 +02:00
Boris Zbarsky
84f2ccaf56 Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron 2011-08-03 14:32:32 -04:00
Vitor Menezes
fec17839e4 Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se.  This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9 Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.

This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Marco Bonardo
b92ca56a08 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Matt Woodrow
05f861d628 Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc 2011-08-03 15:04:24 +12:00
Matt Woodrow
f015e13bb5 Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow
ab8f7fa56f Bug 505115 - Part 11a - Add nsCSSValueTriplet and optionally read a z component to -moz-transform-origin. r=dbaron 2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26 Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
ada52f1e13 Bug 505115 - Part 6 - Implement the 3d -moz-transform functions. r=dbaron 2011-08-03 15:04:19 +12:00
Kyle Huey
4206f2424c Bug 676048: Report RuleCascadeData and substructures to about:memory. r=bz 2011-08-02 16:21:52 -04:00
Kyle Huey
03cf2fd98c Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Kyle Huey
f2a2e3cbf4 Bug 675624: Enumerate style sets in about:memory. r=bz 2011-08-01 14:24:38 -04:00
L. David Baron
be7a42e48c Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
arno renevier
7619580585 Bug 674965: simplify .error selectors in viewsource.css r=mrbkap 2011-07-28 14:01:40 -07:00
Blake Kaplan
d8a379a6ee Bug 673094 - Because " and > are weak LTR characters, we need to be more forceful in our attempts to have view-source be LTR. r=ehsan 2011-07-22 12:09:41 -07:00
Boris Zbarsky
f1ba3321cc Bug 652301. Show focus outlines on all but a blacklist of focusable things in HTML, not just on a whitelist of them. r=dbaron 2011-04-27 16:52:23 -04:00
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Matt Woodrow
f00688318f Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron 2011-07-23 10:28:07 +12:00
Mounir Lamouri
00b4aa4898 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
7e7c6831b6 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Joel Maher
c3a05191bb Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Jonas Sicking
d4380b0d71 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
42346e6d0b Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
3a70fea833 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
2179f30023 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
79c9d3ee6f Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Jonathan Kew
a690e043c1 bug 671799 followup - mark crashtest assertions as being expected, r=orange 2011-07-15 16:56:59 +01:00
Jonathan Kew
33a5565ddc bug 671799 - add tests for null URI in @font-face load-failure logging. r=bzbarsky 2011-07-15 15:52:29 +01:00
Jonathan Kew
98357a1569 bug 671799 - check whether mURI is null during @font-face console logging. r=jdaggett 2011-07-15 15:16:24 +01:00
Jonathan Kew
155bcd6384 bug 670900 - font downloader should recognize HTTP errors and not try to load the error page as a font. r=bzbarsky 2011-07-13 14:54:54 +01:00
Jonathan Kew
275db5cd96 bug 494130 - log downloadable font errors to console. r=jdaggett 2011-07-12 12:24:36 +01:00
Javi Rueda
60856304e4 Bug 516547. Remove the browser.display.base_font_scaler preference and all the code to process it. r=bzbarsky, sr=dbaron. 2011-07-11 15:27:25 -04:00
arno renevier
9191ba65e8 Bug 669220. Use locale-independent float-to-string conversions for timing function computed styles. r=bzbarsky 2011-07-06 11:25:19 -07:00
arno renevier
40edc8feb0 Bug 664955 - "ASSERTION: parser should have rejected negative length". r=bz 2011-07-04 20:13:20 +02:00
L. David Baron
c09bb2ecf4 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
L. David Baron
468f347283 Don't assert when interpolating font-weight to a result less than 100. (Bug 664927) r=bzbarsky 2011-06-29 14:39:21 -07:00
Boris Zbarsky
55542a66a8 Bug 667520. Fix nth index cache to work correctly when nth-child selectors are only applied to some elements of a child list. r=dbaron 2011-06-28 11:19:18 -04:00
Daniel Holbert
1324a1faec Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Ed Morley
c5f7f0a955 Bug 665686 - Fix unused variable warnings in layout/style/; r=dbaron
--HG--
extra : rebase_source : cadde7110be42e3523c908c095cab8852f00bfb3
2011-06-22 12:00:56 -04:00
Joe Drew
9731d1f3ee Bug 665833 - Use nsCRTGlue rather than nsCRT in nsStyleStruct.cpp. r=dbaron 2011-06-21 01:03:59 -04:00
Mats Palmgren
64fe4b087b Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Mounir Lamouri
d0fc863efa Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00