Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Dup impl :after, :before (Pseudo-elements) #21

@recrack

Description

@recrack

This Impl is for Pseudo-elements.
:After, :Before

I think we use XXXXXX_AFTER in ll.rs
we don`t use XXXXXXAfter in netsurfcss.rc

Can i remove some impl in netsurfcss.rc ?

  • :after
ll.rs:168:    pub static CSS_PROP_CUE_AFTER: css_properties_e                   = 0x01c;
ll.rs:205:    pub static CSS_PROP_PAGE_BREAK_AFTER: css_properties_e            = 0x041;
ll.rs:208:    pub static CSS_PROP_PAUSE_AFTER: css_properties_e                 = 0x044;
ll.rs:240:    pub static CSS_PROP_BREAK_AFTER: css_properties_e                 = 0x064;
ll.rs:497:    pub static CSS_PESUDO_ELEMENT_AFTER: css_pseudo_element = 4;
netsurfcss.rc:326:        CssPropCueAfter                       = 0x01c,
netsurfcss.rc:363:        CssPropPageBreakAfter         = 0x041,
netsurfcss.rc:366:        CssPropPauseAfter                     = 0x044,
netsurfcss.rc:398:        CssPropBreakAfter                     = 0x064,
netsurfcss.rc:555:        // So gnarly. The status field is a uint8_t that comes after a union type.
netsurfcss.rc:615:      CssPseudoElementAfter        = 4,
netsurfcss.rc:854:        pub extern fn node_count_siblings(_pw: *c_void, _node: *c_void, _same_name: bool, _after: bool, count: *mut int32_t) -> css_error {
  • :before
ll.rs:169:    pub static CSS_PROP_CUE_BEFORE: css_properties_e                  = 0x01d;
ll.rs:206:    pub static CSS_PROP_PAGE_BREAK_BEFORE: css_properties_e           = 0x042;
ll.rs:209:    pub static CSS_PROP_PAUSE_BEFORE: css_properties_e                        = 0x045;
ll.rs:241:    pub static CSS_PROP_BREAK_BEFORE: css_properties_e                        = 0x065;
ll.rs:496:    pub static CSS_PSEUDO_ELEMENT_BEFORE: css_pseudo_element = 3;
netsurfcss.rc:327:        CssPropCueBefore                      = 0x01d,
netsurfcss.rc:364:        CssPropPageBreakBefore                = 0x042,
netsurfcss.rc:367:        CssPropPauseBefore                    = 0x045,
netsurfcss.rc:399:        CssPropBreakBefore                    = 0x065,
netsurfcss.rc:614:      CssPseudoElementBefore       = 3,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions