summaryrefslogtreecommitdiff
path: root/layout/style
Commit message (Collapse)AuthorAge
* Fix property alias indentationFranklinDM2022-05-03
|
* Issue #1853 - Follow-up: Add missing end of array marker to scrollbar width ↵FranklinDM2022-05-03
| | | | | | keyword table This prevents the parser from accepting values outside the keyword table.
* Merge branch 'master' into 1829Brian Smith2022-04-28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: No issue - Update README and SECURITY Issue #1885 - Follow-up: Update error message if invalid rootMargin specified. Issue #1879 - Follow-up: Update config/external/nss/target to security/target. Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver. Issue #1879 - Revert changes to cryptox.h Revert "Issue #1879 - spot-fix typo in cryptox.h" Issue #1879 - spot-fix typo in cryptox.h Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement Issue #21 - Remove use counters telemetry Issue #1881 - Interpret empty or whitespace root margin string as zero length Issue #1877 - Resolve NIGHTLY_BUILD conditionals. Issue #1880 - Boot Comic Sans out of the font configuration.
| * Merge pull request 'Remove use counters telemetry' (#1883) from ↵Moonchild2022-04-26
| |\ | | | | | | | | | | | | | | | FranklinDM/UXP-contrib:work_telemetry-use-counters-removal into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1883
| | * Issue #21 - Remove use counters telemetryFranklinDM2022-04-24
| | | | | | | | | | | | | | | | | | This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?) For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
| * | Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver.Moonchild2022-04-24
| | | | | | | | | | | | | | | | | | | | | I could have done this through a CSSLoader to allow all CSS unit quirks but I wasn't planning to start passing around document and element references everywhere, so instead just did it manually by accepting numbers/floats in addition to pixel and percent.
| * | Issue #1881 - Interpret empty or whitespace root margin string as zero lengthFranklinDM2022-04-23
| |/ | | | | | | | | | | | | | | This attempts to get the first non-whitespace token, which if exists, continues with previous behavior of parsing the margin string. Otherwise, if the specified margin string is empty or consists only of whitespace characters, is interpreted as zero length. IntersectionObserver is the only consumer of the `ParseMarginString` method, as far as I can tell, so this should not affect anything else. Note: For some reason, Firefox and Chrome treat the unitless zero length as invalid, while with this change, we do not change existing behavior in that regard and continue to accept that value.
| * Issue #1877 - Resolve NIGHTLY_BUILD conditionals.Moonchild2022-04-22
| |
* | Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals from /layout"Brian Smith2022-04-26
|/ | | | This reverts commit aa0fd3d68c856504646e1d7eb499bc890ef44101.
* Issue #1593 - Part 4: Make :host pass DOM parsing test and basic specificity ↵Jeremy Andrews2022-04-19
| | | | tests.
* Issue #1593 - Part 3: Add selector logic for :host and :host-context.Jeremy Andrews2022-04-19
|
* Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation,Jeremy Andrews2022-04-19
| | | | fixed up.
* Issue #1838 - Follow-up: Prevent grid shorthand from resetting gutter propertiesFranklinDM2022-04-18
| | | | This also fixes crashing when using the grid shorthand property.
* Issue #1818 - Part 1: remove a number of old GCC hacks.trav902022-04-15
|
* Issue #1370 - Part 6: Update testsFranklinDM2022-04-07
|
* Issue #1370 - Part 3: Implement `content` keyword for `flex-basis` propertyFranklinDM2022-04-07
| | | | Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1105111
* Issue #1838 - Part 7: Update testsFranklinDM2022-04-02
|
* Issue #1838 - Part 2: Remove `grid-` prefix from `grid-(column|row)-gap` ↵FranklinDM2022-04-02
| | | | | | | | | | | | | | | properties This removes the `grid` prefix from the gap-related properties of grid since they are now part of the box alignment specification. Former grid-gap* properties were aliased to the unprefixed properties to maintain compatibility. The previously multi-column layout only `column-gap` property has been modified to apply to the Grid layout (and Flexbox in a following commit), moving the `mColumnGap` member variable from `nsStyleColumn` to `nsStylePosition`. Notes: * Bug 1398537 - support for percent values in column-gap for multi-column layout landed as part of Issue #1230. However, it was incomplete because it did not update `nsRuleNode` to allow transformation of percentage values for `column-gap`. This was consequently fixed as part of this commit. * Bug 1456166 - this might not apply because we don't have that devtools test in UXP * `nsRuleNode`, `nsCSSParser`, `Declaration`, and other related classes were merged into Stylo. These should be taken into consideration when porting patches from Mozilla. Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398482
* Issue #1838 - Part 1: Remove CSS grid preferenceFranklinDM2022-04-02
| | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398492
* Issue #21 - Remove Telemetry plumbing and fix build.Moonchild2022-04-02
| | | | | Note this won't give working applications. Requires FE changes and additional js module changes (next part).
* Issue #1822 - Part 4: Remove URL classifier and internal blocklist errors.Moonchild2022-04-01
| | | | | This removes NS_ERROR_{TRACKING|MALWARE|PHISHING|UNWANTED|BLOCKED}_URI that are no longer in use.
* Issue #1822 - Part 3: Remove LOAD_CLASSIFIER_URI and variousMoonchild2022-04-01
| | | | helper functions.
* Issue #1830 - Remove --disable-xul config and conditionals.Moonchild2022-04-01
|
* Issue #1781 - Follow-up: fix debug assert in MergeMultiplicativeR()Moonchild2021-07-24
|
* Issue #1784 - Add -moz-dark-theme media query and allow prefers-color-scheme ↵athenian2002021-06-22
| | | | to follow it.
* Merge pull request 'Support detecting bool preferences in chrome ↵New Tobin Paradigm2021-06-19
|\ | | | | | | | | | | stylesheets' (#1785) from athenian200/UXP:bool-chrome-stylesheets into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1785
| * Issue #1776 - Support detecting bool preferences in chrome stylesheetsJeremy Andrews2021-06-19
| | | | | | | | This functionality was already added to Gecko for UA stylesheets allow the "dom.details_element.enabled" preference to work. I changed the condition to allow bool preferences to be used in chrome stylesheets as well.
* | Issue #1782: Remove Luna, Royale and Zune support from the platform.Moonchild2021-06-14
| | | | | | | | | | These are obsolete system themes; the platform will fall back to generic/unknown theme support instead.
* | Issue #1781 - Part 2: Fix animation interpolation for stroke-dashoffset.Moonchild2021-06-12
| | | | | | | | Since we have calc() and floats working now, this is a trivial fix.
* | Issue #1781 - Part 1: support calc() in stroke-dashoffset CSSMoonchild2021-06-12
| | | | | | | | | | This adds basic calc() support to stroke-dashoffset. It does not provide CSS animation (yet, todo for part 2)
* | Issue #1751 -- Remove XP_MACOSX conditionals from /layoutMoonchild2021-05-03
|/
* Merge pull request 'Reinstate "dom.details_element.enabled" preference' ↵Moonchild2021-04-01
|\ | | | | | | | | | | (#1758) from athenian200/UXP:details_element_pref into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1758
| * Issue #1757 - Reinstate "dom.details_element.enabled" preferenceathenian2002021-03-31
| | | | | | | | The removal of this preference was botched, all other surrounding plumbing changes appear to be working okay. The ability to use prefs to control this stylesheet might be useful in the future, so perhaps this is one of those "if it ain't broke, don't fix it" bugs where leaving well enough alone in the first place would have been the best choice.
* | Issue #1755 - Add smooth, high-quality and pixelated to CSS image-renderingMoonchild2021-03-28
|/
* Issue #1752 - Implement "prefers-color-scheme" as a user preference.athenian2002021-03-23
| | | | | | This PR passes all current tests for this feature, and implements the "prefers-color-scheme" media query as an enumerated keyword that is controlled by an integer preference. Currently, the possible options are 0 to see a website's fallback code and essentially behave like this isn't implemented (our current behavior), 1 to express a preference for a light theme (the default for spec reasons), and 2 to express a preference for a dark theme. Over time, this list may expand to include other preferences like a preference for a sepia theme or something, and this leaves us prepared for that future.
* Issue #1719 - Make <menuitem> pref-controlled and disable by default.Moonchild2021-01-25
| | | | Resolves #1719
* Issue #1689 - Part 1: Add pref for DOM Animation timelines APIMoonchild2021-01-14
| | | | Default false, no intent to ship for web content. Always enabled for Chrome.
* Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser.Moonchild2021-01-06
| | | | | This should be all parts needed to add a brand new enum keyword including getting the computed style from it...
* Issue #1705 - Part 3: Rename ScrollbarStyles to ScrollStyles.Moonchild2021-01-06
| | | | | | | | | | | ScrollbarStyles contains values of overflow, (over)scroll-behavior, etc. The only one which is marginally related to scroll _bars_ is overflow, which can be used to hide scrollbar (by making an element not scrollable) or enforce the scrollbar to display. It makes more sense to be called ScrollStyles as it's mainly concerning behavior of scrolling, not scrollbars. Also, with the addition of scrollbar width properties, the current name can be confusing.
* Issue #1705 - Part 1: Rename nsChangeHint_CSSOverflowChange to *ScrollbarChange.Moonchild2021-01-06
| | | | Prepare for scrollbar-width which should trigger the same kind of change.
* Issue #1053 - Part 2a: Remove android from /layout (partial)Moonchild2020-12-26
| | | | | This removes android code from base, build, forms, generic, inspector, style, printing, tools and xul.
* Issue #1696 - Propagate flex sizes to the table wrapperMoonchild2020-12-15
| | | | | | | This avoids overlapping of table styled elements inside flexboxes as used on some websites. Resolves #1696
* Merge pull request 'Fix up -moz-tab-size and unprefix it.' (#1674) from ↵Moonchild2020-10-30
|\ | | | | | | | | | | athenian200/UXP:tab-size-length into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1674
| * Issue #1673 - Part 5: Fix brace style and missed -moz-tab-size reference.athenian2002020-10-29
| |
| * Issue #1673 - Part 4: Unprefix -moz-tab-size.athenian2002020-10-28
| | | | | | | | While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
| * Issue #1673 - Part 2: Make tab-size animatable and fix typos.athenian2002020-10-28
| | | | | | | | There were a few typos in the previous patch and this patch also makes tab-size animatable which didn't really require much of a change at all.
| * Issue #1673 - Part 1: Allow tab-size to accept <length>.athenian2002020-10-28
| | | | | | | | Currently -moz-tab-size only accepts <number> values, and both Chrome and Firefox currently support <length> values and have for some time now. So with this you would be able to support sizes in px or em, for instance. This was implemented in Firefox 53 and was trivial to backport.
* | Issue #1656 - Nuke the remaining vim lines in UXPMoonchild2020-10-26
|/ | | | Closes #1656
* Merge branch 'master' of https://github.com/MoonchildProductions/UXPMoonchild2020-10-20
|\
| * Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵athenian2002020-10-18
| |\ | | | | | | | | | caret_color