Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,437
    • Issues 1,437
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 246
    • Merge requests 246
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Issues
  • #3199

Closed
Open
Created Sep 26, 2020 by nana-4@nana-4

Support CSS logical properties (for margins, borders and padding)

Since GTK 4 properly handles :first-child and :last-child on every widget, we now encounter the CSS specificity issues in theme more often than in GTK 3.

To help those issues, it would be great if GTK could support CSS logical properties (and the value logical, hopefully) for margins/borders/padding. Not only it would make avoiding specificity issues much easier, but also it would make the CSS styling much simpler.

Here is the CSS documentation (Editor's Draft): https://drafts.csswg.org/css-logical/

Here is a list of the logical properties for margins, borders and padding: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties#Properties_for_margins_borders_and_padding

Edited Sep 26, 2020 by nana-4
Assignee
Assign to
Time tracking