Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPhtml reports as being 'undefined' classes that use the ::first-letter' selector (GuiGuts Issue #1180) #16

Open
rtonsing opened this issue Jul 3, 2023 · 1 comment

Comments

@rtonsing
Copy link
Collaborator

rtonsing commented Jul 3, 2023

Quentin Campbell:

Describe the bug
PPHTML (both DP Workbench and GG versions) incorrectly flags as being 'undefined' CSS entries that use the ::first-letter selector.

The output from the online DP Workbench version of PPHTML says:

defined CSS:
... drop-cap-a ...
used CSS:
drop-cap-a drop-cap-b drop-cap-c
not defined but used:
drop-cap-b drop-cap-c
To Reproduce

  1. Open Guiguts
  2. Create an HTML file with the following CSS and HTML
    CSS :

p.drop-cap-a { color: transparent; margin-left: -1.4em; }
p.drop-cap-b:first-letter { color: transparent; margin-left: -1.4em; }
p.drop-cap-c::first-letter { color: transparent; margin-left: -1.4em; }
HTML:

QQ

QQ

QQ

1. Open the HTML menu ... 2. Scroll down to 'PPhtml' and click 3. See error in the report that is produced Expected behavior That PPhtml report should not claim that classes 'drop-cap-b' and 'drop-cap-c' are undefined.

Environment

• Guiguts version: 1.6-test2
• OS and version: Windows 10
• Perl version:
• Perl distribution:
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@windymilla
Copy link

Fixed in Guiguts by DistributedProofreaders/guiguts#1242 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants