Bug 519471 - CSS Validator marks calc statement as error
Summary: CSS Validator marks calc statement as error
Status: UNCONFIRMED
Alias: None
Product: Efxclipse
Classification: Technology
Component: Tooling (show other bugs)
Version: 2.4.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 12:26 EDT by Colin DuPee CLA
Modified: 2017-07-10 12:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin DuPee CLA 2017-07-10 12:26:54 EDT
I have a CSS file in a project with the following property:

.userform input[type="text"] {
    width: calc(100% - 160px);
}

The CSS Validator in e(fx)clipse marks the subtraction in the calc statement as an error*, which prevents post-build events from firing.

Description	Resource	Path	Location	Type
no viable alternative at input '-'	3dmd.css	/dvrd/cfg	line: 54 /dvrd/cfg/3dmd.css	Xtext Check (fast)

I believe this statement itself to be legal by the specification, and is certainly interpreted correctly by every major browser and JavaFX's WebEngine.

I cannot find any way for this file and e(fx)clipse to peacefully co-exist on my computer.  These are the things I have tried without effect:
- Change the severity of the problem within the validator.
- Move the file to some remote folder in the project.
- Find some way to ignore the file.
- Find some way to ignore the folder.
- Find some way to ignore this class of error.
- Disable CSS validation entirely.
- Remove the CSS portion of e(fx)clipse.

I marked this bug with severity "normal" only because I hold out hope that there is some way to get passed this problem.  So far I have failed, and the only thing that works is to remove e(fx)clipse entirely, which seems pretty severe to me.