mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
CSS: inline-block with a display:block <input> child element has a wrong baseline (HTML forms)
This commit is contained in:
parent
8d256442ca
commit
67a10f51a0
20 changed files with 990 additions and 29 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#define nsFieldSetFrame_h___
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "imgIContainer.h"
|
||||
#include "DrawResult.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
||||
class nsFieldSetFrame final : public nsContainerFrame
|
||||
|
|
@ -46,6 +46,13 @@ public:
|
|||
const ReflowInput& aReflowInput,
|
||||
nsReflowStatus& aStatus) override;
|
||||
|
||||
nscoord GetLogicalBaseline(mozilla::WritingMode aWM) const override;
|
||||
bool GetVerticalAlignBaseline(mozilla::WritingMode aWM,
|
||||
nscoord* aBaseline) const override;
|
||||
bool GetNaturalBaselineBOffset(mozilla::WritingMode aWM,
|
||||
BaselineSharingGroup aBaselineGroup,
|
||||
nscoord* aBaseline) const override;
|
||||
|
||||
virtual void BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
||||
const nsRect& aDirtyRect,
|
||||
const nsDisplayListSet& aLists) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue