Renaming class called "body" renames rules for body element
Bug #1944562 reported by
Phssthpok
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version 5.14 (64-bit) on Windows 10.
I have a class called "body" which I want to rename. I have these CSS rules:
body { ... }
body.body { ... }
In a tag "<body class='body'>", I right-click on the class name and rename it to "foo". I now have the following CSS rules:
foo { ... }
foo.foo { ... }
The rules for the tag <body> have been changed, not just the class "body".
To post a comment you must log in.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased