summaryrefslogtreecommitdiff
path: root/layout/style
Commit message (Collapse)AuthorAge
* Bug 1373798 - Move HTML dir attribute state into event state flagsMatt A. Tobin2020-04-17
| | | | | | | | | | * Stop calling SetHasDirAuto/ClearHasDirAuto in input element code * Introduce event state flags that track the state of an element's dir attribute * Rewrite our existing checks for the state of the dir attr on top of the new event state flags * Add pseudo-classes for matching on the dir attribute states * Use the new dir attribute pseudoclasses in html.css Tag mcp-graveyard/UXP#1375
* Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocumentMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyleMatt A. Tobin2020-04-17
| | | | | | | | | * Add a node property to access the ::before and ::after pseudo-elements * Look for the frame for ::before and ::after pseudos * Clean up pseudo-element props * Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos Tag mcp-graveyard/UXP#1375
* Bug 1330843 - Allow JS to create NAC pseudo-elementsMatt A. Tobin2020-04-17
| | | | Tag mcp-graveyard/UXP#1375
* Bug 1346623 - Allow anonymous content created with ↵Matt A. Tobin2020-04-16
| | | | | | | | | nsIDocument::InsertAnonymousContent can change from non-native to native AC * Prevent canvas custom content from becoming NAC when reframing the root element * Add an API to get computed style values through an AnonymousContent object Tag mcp-graveyard/UXP#1375
* Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content ↵Matt A. Tobin2020-04-16
| | | | | | | | | | | with the pseudo type at creation time * Stop using a node bit for HasExplicitBaseURI * Move MAY_HAVE_CLASS to mBoolFlags * Add a flag to indicate that a node is native anonymous content * Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo Tag mcp-graveyard/UXP#1375
* Issue mcp-graveyard/UXP#1375 - Fix unified sourcesMatt A. Tobin2020-04-14
|
* Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when ↵Matt A. Tobin2020-04-14
| | | | | | | | | | | | trying to reframe native anonymous content * Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors. * Add nsINode::GetFlattenedTreeParentNodeForStyle. * Add iterator class to find all restyle roots. NOTE: Parts 1, 2, and "4.2" Tag mcp-graveyard/UXP#1375
* Fix a whitespace issue in nsComputedDOMStyle.cppwolfbeast2020-02-12
|
* [CSS] Add stub for font-variation-settingswolfbeast2020-02-11
| | | | | | | | | | | | This stub is added because websites insist on considering this very hardware-dependent and O.S.-variable low-level font-control as a "critical feature" which it isn't as there is 0 guarantee that font variation settings are supported or honored by any operating system used by the client. On top this is a WD status feature that sites shouldn't be using, and the feature itself is strongly discouraged for use in favor of standard CSS font manipulation keywords like `font-weight`.
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵athenian2002020-01-27
|\ | | | | | | form-disabled-issue
| * Bug 1271549 - Remove details and summary preference.Gaming4JC2020-01-26
| | | | | | | | Tag UXP Issue mcp-graveyard/UXP#1344
* | Issue mcp-graveyard/UXP#1356 - Remove -moz-user-input disabled to improve ↵athenian2002020-01-16
|/ | | | event handling.
* Bug 1322938 - Basic implementation of HTMLDialogElement.Gaming4JC2020-01-07
| | | | Tag mcp-graveyard/UXP#1343
* Issue mcp-graveyard/UXP#1345 - Implement non-standard legacy CSSStyleSheet rulesJustOff2020-01-07
|
* Issue mcp-graveyard/UXP#1118 - Part 6: Fix various tests that are no longer ↵wolfbeast2019-12-22
| | | | | | | correct. The behavior change of document.open() requires these tests to be changed to account for the new spec behavior.
* Issue mcp-graveyard/UXP#1219 - Align computed DOM styles with mainstream ↵wolfbeast2019-12-20
| | | | | | | | | | | behvior. This updates our behavior for computed DOM styling to no longer return null on elements that have no display, but return a 0-length (empty) style instead and don't throw. For this we stop looking at having a presentation for the style and just look at the document instead. This resolves #1219
* MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.athenian2002019-10-21
| | | | | | | | | | | | | | Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before. 1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there. 2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did. 3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code. 4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris. 5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
* Issue mcp-graveyard/UXP#1230 - Part 1: Fix Back-computing percentages for ↵Gaming4JC2019-09-28
| | | | | | | | | | | | | | | | | | | | | | intrinsic sizing in Layout CSS-Grid List of relevant patches applied: 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). 1434478 part 1 - [css-grid] Stop back-computing percentage grid gaps when the percentage basis is indefinite. Treat them as zero sized instead. 1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead. 1434478 part 3 - Remove IntrinsicISizeOffsetData::hPctPadding/hPctMargin members since they are now unused. 1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch). 1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch). 1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin. This is needed only for CSS Grid since in other cases we're only using IntrinsicISizeOffsets in the inline-axis and the percentage basis is always indefinite for *intrinsic sizing*. When calculating the intrinsic size of grid items in the grid container's block axis however, we do have a definite size for the grid area in the inline-axis and it should be used per: https://drafts.csswg.org/css-grid/#algo-overview "2. Next, the track sizing algorithm resolves the sizes of the grid rows, using the grid column sizes calculated in the previous step." (Percentage padding/margin for grid items is always resolved against the grid area's inline-size nowadays.)
* Issue mcp-graveyard/UXP#1211: Allow the loading of TYPE_FONT from file: URLs.wolfbeast2019-08-14
| | | | | | | This bypasses the CORS restriction of unique file: URLs in the case of fonts loaded through CSS. Resolves #1211.
* Handle URL token in a closer way to the CSS3 specJustOff2019-04-20
|
* Issue mcp-graveyard/UXP#187: Remove solaris conditional code.wolfbeast2019-03-30
|
* Remove various hard-coded Accept: headerswolfbeast2019-03-07
| | | | | | | Since we're now handling this in the network back-end, there's no need for this anymore. Tag mcp-graveyard/UXP#993.
* Merge branch 'master' of https://github.com/MoonchildProductions/UXPwolfbeast2019-02-03
|\
| * issue #908 - implement missing parts of CSS maskyami2019-02-02
| |
* | Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18
|/
* Telemetry: Remove stubs and related codeadeshkp2019-01-12
|
* Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.wolfbeast2019-01-04
| | | | Follow-up for #891. Tag mcp-graveyard/UXP#457.
* Limit the CSS string length for resolved variables to sane values.wolfbeast2018-12-01
| | | | This resolves #891
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03
| | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* Merge pull request #567 from SpockMan02/moz-mac-lion-themeMoonchild2018-06-30
|\ | | | | Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
| * Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media querySpockMan022018-06-27
| |
* | Remove unnecessary GCC version checkstrav902018-06-29
|/
* Merge pull request #297 from janekptacijarabaci/css_text-justify_1Moonchild2018-04-29
|\ | | | | CSS - implement text-justify property
| * moebius#90: CSS - implement text-justify propertyjanekptacijarabaci2018-04-01
| |
* | Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1Moonchild2018-04-29
|\ \ | | | | | | DOM - implement animationcancel event
| * | Bug 1264125: Fire transitioncancel event when a transition is canceled ↵janekptacijarabaci2018-03-14
| | | | | | | | | | | | | | | | | | (added tests + style clean up) Issue mcp-graveyard/UXP#55
| * | Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added ↵janekptacijarabaci2018-03-14
| | | | | | | | | | | | | | | | | | tests) Issue mcp-graveyard/UXP#55
| * | moebius#89: DOM - implement animationcancel eventjanekptacijarabaci2018-03-14
| | | | | | | | | | | | Issue mcp-graveyard/UXP#55
| * | Bug 1264125: Queue CSS related event when setting null target effectjanekptacijarabaci2018-03-14
| | | | | | | | | | | | Issue mcp-graveyard/UXP#55
| * | Bug 1264125: Call the queueing events when canceling transition via Style or ↵janekptacijarabaci2018-03-14
| | | | | | | | | | | | | | | | | | Script Issue mcp-graveyard/UXP#55
| * | Bug 1264125: Queue transitioncancel when animation status is idlejanekptacijarabaci2018-03-14
| | | | | | | | | | | | Issue mcp-graveyard/UXP#55
| * | Revert - Bug 1324985: Disable firing the transitionrun and transitionstart ↵janekptacijarabaci2018-03-14
| | | | | | | | | | | | | | | | | | on Aurora 52 Issue mcp-graveyard/UXP#55
| * | Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (without ↵janekptacijarabaci2018-03-14
| |/ | | | | | | | | | | tests) Issue mcp-graveyard/UXP#55
* | moebius#138: Optimize operations on root of deeply-nested frame treejanekptacijarabaci2018-04-24
| | | | | | | | https://github.com/MoonchildProductions/moebius/pull/138
* | Bug 1209697: Clear ancestor intrinsic sizes when our block size changesjanekptacijarabaci2018-04-24
| |
* | Bug 1453339 - Make it harder to mess up Promise::All. r=peterv, a=RyanVMBoris Zbarsky2018-04-19
| | | | | | | | MozReview-Commit-ID: UO4wssYHj7
* | Use natural border width rounding.wolfbeast2018-04-18
| | | | | | | | | | | | | | Round subpixel border widths to nearest integer instead of nearest-below integer. Split caret widths off from border widths and continue to use rounding to nearest-below integer for that. Bump Goanna version for visual rendering change.
* | Merge branch 'html_input_datetime_1'wolfbeast2018-04-15
|\ \ | | | | | | | | | This is almost everything needed for #162.
| * | moebius#92: HTML - input - datetimejanekptacijarabaci2018-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + native in moebius: Bug 1317600: https://bugzilla.mozilla.org/show_bug.cgi?id=1317600 A note - not implemented: Bug 1282768: https://bugzilla.mozilla.org/show_bug.cgi?id=1282768 *.css: filter: url("chrome://global/skin/filters.svg#fill");, fill: Bug 1283385: https://bugzilla.mozilla.org/show_bug.cgi?id=1283385 Bug 1323109: https://bugzilla.mozilla.org/show_bug.cgi?id=1323109 Bug 1314544: https://bugzilla.mozilla.org/show_bug.cgi?id=1314544 Bug 1286182: https://bugzilla.mozilla.org/show_bug.cgi?id=1286182 Bug 1325922: https://bugzilla.mozilla.org/show_bug.cgi?id=1325922 A note - not implemented: Bug 1282768: https://bugzilla.mozilla.org/show_bug.cgi?id=1282768 *.css: filter: url("chrome://global/skin/filters.svg#fill");, fill: Bug 1320225: https://bugzilla.mozilla.org/show_bug.cgi?id=1320225 Bug 1341190: https://bugzilla.mozilla.org/show_bug.cgi?id=1341190